mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/resolv.rb: fix arguments to create exceptions.
Patch from matt@lickey.com. (ruby-bugs:PR#278) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e9d9cda13b
commit
0c41c1fc22
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Mar 22 14:14:21 2002 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* lib/resolv.rb: fix arguments to create exceptions.
|
||||
Patch from matt@lickey.com. (ruby-bugs:PR#278)
|
||||
|
||||
Fri Mar 22 13:51:11 2002 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* ext/bigfloat/.cvsignore, ext/bigfloat/MANIFEST: BigFloat 1.1.8
|
||||
|
|
|
@ -438,9 +438,9 @@ class Resolv
|
|||
extract_resources(reply, reply_name, typeclass, &proc)
|
||||
return
|
||||
when RCode::NXDomain
|
||||
raise Config::NXDomain.new(reply_name)
|
||||
raise Config::NXDomain.new(reply_name.to_s)
|
||||
else
|
||||
raise Config::OtherResolvError.new(reply_name)
|
||||
raise Config::OtherResolvError.new(reply_name.to_s)
|
||||
end
|
||||
}
|
||||
ensure
|
||||
|
|
Loading…
Reference in a new issue