diff --git a/ChangeLog b/ChangeLog index 4556603a85..38114ac882 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Feb 11 09:58:59 2009 Tanaka Akira + + * ext/socket/lib/socket.rb (Socket::UDPSource#inspect): fix variable + name. + Wed Feb 11 00:38:16 2009 Tanaka Akira * ext/socket/socket.c (sock_gethostname): use HOST_NAME_MAX. diff --git a/ext/socket/lib/socket.rb b/ext/socket/lib/socket.rb index ff5fb088da..0981b12edc 100644 --- a/ext/socket/lib/socket.rb +++ b/ext/socket/lib/socket.rb @@ -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)