aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmlrpc
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-07 13:45:04 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-07 13:45:04 +0000
commit0c8ae9165180e39c8a18e2172876eef83cd3eae9 (patch)
tree7c327119c94e5c946a659045f106fa7f6fdc4c00 /lib/xmlrpc
parent075d98c7dc0cee294f03ed0ed26e1e8d8876b2b9 (diff)
downloadruby-0c8ae9165180e39c8a18e2172876eef83cd3eae9.tar.gz
* lib/xmlrpc/client.rb (module XMLRPC): fix typo.
* test/xmlrpc/test_client.rb (test_async_call): add test for XMLRPC::Client#call_async to check above fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/xmlrpc')
-rw-r--r--lib/xmlrpc/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmlrpc/client.rb b/lib/xmlrpc/client.rb
index 5c11d4f38b..54f721fd37 100644
--- a/lib/xmlrpc/client.rb
+++ b/lib/xmlrpc/client.rb
@@ -526,7 +526,7 @@ module XMLRPC
if async
# use a new HTTP object for each call
- http = net_http.new(@host, @port, @proxy_host, @proxy_port)
+ http = net_http(@host, @port, @proxy_host, @proxy_port)
http.use_ssl = @use_ssl if @use_ssl
http.read_timeout = @timeout
http.open_timeout = @timeout