summaryrefslogtreecommitdiff
path: root/lib/resolv.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-16 17:47:19 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-16 17:47:19 +0000
commit8ef5da3be1577bb5ae7f55b60cf9fedb10ecb85e (patch)
treea700e3fe92165180b04451746f9c4fda4f038289 /lib/resolv.rb
parent3ec0bc3828794a6ef6293b53b403af8bc2362934 (diff)
consistent parentheses in assignment RHS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/resolv.rb')
-rw-r--r--lib/resolv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/resolv.rb b/lib/resolv.rb
index 6dac504747..edc17c2f19 100644
--- a/lib/resolv.rb
+++ b/lib/resolv.rb
@@ -1155,7 +1155,7 @@ class Resolv
len, = self.get_unpack('n')
save_limit = @limit
@limit = @index + len
- d = yield len
+ d = yield(len)
if @index < @limit
raise DecodeError.new("junk exist")
elsif @limit < @index