Permalink
Browse files

applied parentheses to quiet some -w warnings.

  • Loading branch information...
1 parent 64a8240 commit 3f7a4a254debc683e7e8e6b4ad915801498f4dfc blackhedd committed May 18, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/net/ldap/filter.rb
View
@@ -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

0 comments on commit 3f7a4a2

Please sign in to comment.