Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

applied parentheses to quiet some -w warnings.

  • Loading branch information...
commit 3f7a4a254debc683e7e8e6b4ad915801498f4dfc 1 parent 64a8240
blackhedd authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/net/ldap/filter.rb
View
4 lib/net/ldap/filter.rb
@@ -319,9 +319,9 @@ def execute &block
when :le
yield :lessOrEqual, @left, @right
when :or, :and
- yield @op, (@left.execute &block), (@right.execute &block)
+ yield @op, (@left.execute(&block)), (@right.execute(&block))
when :not
- yield @op, (@left.execute &block)
+ yield @op, (@left.execute(&block))
end || []
end
Please sign in to comment.
Something went wrong with that request. Please try again.