diff --git a/ChangeLog b/ChangeLog index d0fbcd7d86..e5ddf9ca2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Oct 22 17:46:27 2011 Tanaka Akira + + * lib/resolv.rb: fix a exception name in previous patch. + Sat Oct 22 17:43:33 2011 Tanaka Akira * lib/resolv.rb: make timeout configurable for DNS query. diff --git a/lib/resolv.rb b/lib/resolv.rb index 89094a0ebf..6b4e06ad9d 100644 --- a/lib/resolv.rb +++ b/lib/resolv.rb @@ -874,7 +874,7 @@ class Resolv values = Array(values) values.each do |t| Numeric === t or raise ArgumentError, "#{t.inspect} is not numeric" - t > 0.0 or raise Argument, "timeout=#{t} must be postive" + t > 0.0 or raise ArgumentError, "timeout=#{t} must be postive" end @timeouts = values else