summaryrefslogtreecommitdiff
path: root/sample/dualstack-httpd.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-03 09:26:26 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-08-03 09:26:26 +0000
commite2ea286ec9edd54f1edbe7190e354c77f7219284 (patch)
treee819cac9ded3e5c5c7992d44eb6cd8df986d2dd3 /sample/dualstack-httpd.rb
parent0f1c1ecbd89de6dfc4133c625c2ed234f50b19f5 (diff)
* sample/svr.rb: obsolete TCPserver renamed. [ruby-core:24712]
* sample/tsvr.rb: ditto. * sample/dualstack-httpd.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/dualstack-httpd.rb')
-rw-r--r--sample/dualstack-httpd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/dualstack-httpd.rb b/sample/dualstack-httpd.rb
index 69e31818637..11c5201d74c 100644
--- a/sample/dualstack-httpd.rb
+++ b/sample/dualstack-httpd.rb
@@ -12,7 +12,7 @@ names = []
threads = []
res.each do |i|
- s = TCPserver.new(i[3], i[1])
+ s = TCPServer.new(i[3], i[1])
n = Socket.getnameinfo(s.getsockname, Socket::NI_NUMERICHOST|Socket::NI_NUMERICSERV).join(" port ")
sockpool.push s
names.push n