projects
/
riece
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prevent an args-out-of-range error during login/out
[riece]
/
lisp
/
aproxy.rb
diff --git
a/lisp/aproxy.rb
b/lisp/aproxy.rb
index
df88f94
..
90c80ba
100644
(file)
--- a/
lisp/aproxy.rb
+++ b/
lisp/aproxy.rb
@@
-19,8
+19,8
@@
# You should have received a copy of the GNU General Public License
# along with GNU Emacs; see the file COPYING. If not, write to the
# You should have received a copy of the GNU General Public License
# along with GNU Emacs; see the file COPYING. If not, write to the
-# Free Software Foundation, Inc., 5
9 Temple Place - Suite 330
,
-# Boston, MA 0211
1-1307
, USA.
+# Free Software Foundation, Inc., 5
1 Franklin Street, Fifth Floor
,
+# Boston, MA 0211
0-1301
, USA.
require 'io/nonblock'
require 'socket'
require 'io/nonblock'
require 'socket'
@@
-38,7
+38,7
@@
class AProxy
trap('STOP', 'IGNORE')
trap('TSTP', 'IGNORE')
socket = TCPSocket.new(@host, @port)
trap('STOP', 'IGNORE')
trap('TSTP', 'IGNORE')
socket = TCPSocket.new(@host, @port)
-
@
out.write("NOTICE CONNECTED #{$$}\r\n")
+
$std
out.write("NOTICE CONNECTED #{$$}\r\n")
wfds_in = []
buf = ''
loop do
wfds_in = []
buf = ''
loop do