projects
/
riece
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dccec42
)
Fixed.
author
Daiki Ueno
<ueno@unixuser.org>
Sun, 1 Jun 2003 20:53:09 +0000
(20:53 +0000)
committer
Daiki Ueno
<ueno@unixuser.org>
Sun, 1 Jun 2003 20:53:09 +0000
(20:53 +0000)
lisp/riece-rdcc.el
patch
|
blob
|
history
diff --git
a/lisp/riece-rdcc.el
b/lisp/riece-rdcc.el
index
f1a5f95
..
4e41294
100644
(file)
--- 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
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]}\")
end
server = TCPServer.new(address, 0)
puts(\"#{server.addr[3].split(/\\./).collect{|c| c.to_i}.pack('CCCC').unpack('N')[0]} #{server.addr[1]}\")