mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
* sample/*: whitespace patch by Sergio Campama [Fixes GH-364]
https://github.com/ruby/ruby/pull/364 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
368cecc151
commit
b4489ae953
25 changed files with 314 additions and 309 deletions
|
@ -38,7 +38,7 @@ end
|
|||
STDERR.print "conntecting to #{host} port #{port}\n"
|
||||
c = TCPSocket.new(host, port)
|
||||
dest = Socket.getnameinfo(c.getpeername,
|
||||
Socket::NI_NUMERICHOST|Socket::NI_NUMERICSERV)
|
||||
Socket::NI_NUMERICHOST|Socket::NI_NUMERICSERV)
|
||||
STDERR.print "conntected to #{dest[0]} port #{dest[1]}\n"
|
||||
c.print "GET #{path} HTTP/1.0\n"
|
||||
c.print "Host: #{host}\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue