summaryrefslogtreecommitdiffstats
path: root/lib/drb
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-30 04:32:50 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-30 04:32:50 +0000
commit7fda99a3596a789ef6e10bfd8629b4378c7b975a (patch)
tree7294297e19312ce7e47df2b4dfc46425ff1f57ff /lib/drb
parentfe79d4a4aca6573827b891b79e77fe5af9cf2ecc (diff)
downloadruby-7fda99a3596a789ef6e10bfd8629b4378c7b975a.tar.gz
ruby-7fda99a3596a789ef6e10bfd8629b4378c7b975a.tar.xz
ruby-7fda99a3596a789ef6e10bfd8629b4378c7b975a.zip
* lib/drb/ssl.rb (SSLConfig#accept) fixed "Undefined method verbose"
[ruby-Bugs:1701] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/drb')
-rw-r--r--lib/drb/ssl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drb/ssl.rb b/lib/drb/ssl.rb
index a35be03dd..aebdceed4 100644
--- a/lib/drb/ssl.rb
+++ b/lib/drb/ssl.rb
@@ -180,7 +180,7 @@ module DRb
ssl = @config.accept(soc)
self.class.new(uri, ssl, @config, true)
rescue OpenSSL::SSL::SSLError
- warn("#{__FILE__}:#{__LINE__}: warning: #{$!.message} (#{$!.class})") if verbose
+ warn("#{__FILE__}:#{__LINE__}: warning: #{$!.message} (#{$!.class})") if self[:verbose]
retry
end
end