From 3d9aa5cba53ccde1068c495079a1811a3d72c905 Mon Sep 17 00:00:00 2001 From: ueno Date: Sun, 1 Jun 2003 20:53:09 +0000 Subject: [PATCH] Fixed. --- lisp/riece-rdcc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/riece-rdcc.el b/lisp/riece-rdcc.el index f1a5f95..4e41294 100644 --- a/lisp/riece-rdcc.el +++ b/lisp/riece-rdcc.el @@ -44,7 +44,7 @@ Only used for sending files." unless " address " sock = UDPSocket.new sock.connect('164.46.176.4', 7) # www.unixuser.org/echo - address = sock.getsockname[4 .. 8].unpack('CCCC').join('.') + address = sock.getsockname[4 .. 7].unpack('CCCC').join('.') end server = TCPServer.new(address, 0) puts(\"#{server.addr[3].split(/\\./).collect{|c| c.to_i}.pack('CCCC').unpack('N')[0]} #{server.addr[1]}\") -- 1.7.10.4