1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/socket/lib/socket.rb (Socket::UDPSource#inspect): fix variable

name.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-02-11 00:59:30 +00:00
parent bb4abd612e
commit b8147c444b
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Wed Feb 11 09:58:59 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/lib/socket.rb (Socket::UDPSource#inspect): fix variable
name.
Wed Feb 11 00:38:16 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/socket.c (sock_gethostname): use HOST_NAME_MAX.

View file

@ -554,7 +554,7 @@ class Socket
attr_reader :remote_address, :local_address
def inspect
"\#<#{self.class}: #{@sender.inspect_sockaddr} to #{@receiver.inspect_sockaddr}>"
"\#<#{self.class}: #{@remote_address.inspect_sockaddr} to #{@local_address.inspect_sockaddr}>"
end
def reply(msg)