summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>1999-10-25 21:04:29 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>1999-10-25 21:04:29 +0000
commit5fdcd0566c12309fddf4fb53c0fd5da4ac35803a (patch)
tree88a4003186ff89bc3d6554a2840803687a0e2415 /usr.bin/ssh
parent624d84effbb9cf4ae92e9803bd9534513c0686ee (diff)
remove buggy 'x11-fix'
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/nchan.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.bin/ssh/nchan.c b/usr.bin/ssh/nchan.c
index d9ed2b55518..50adc553773 100644
--- a/usr.bin/ssh/nchan.c
+++ b/usr.bin/ssh/nchan.c
@@ -1,5 +1,5 @@
#include "includes.h"
-RCSID("$Id: nchan.c,v 1.4 1999/10/25 21:03:17 markus Exp $");
+RCSID("$Id: nchan.c,v 1.5 1999/10/25 21:04:28 markus Exp $");
#include "ssh.h"
@@ -73,19 +73,6 @@ chan_ibuf_empty(Channel *c){
/* events concerning the OUTPUT from channel for socket (ostate) */
void
chan_rcvd_ieof(Channel *c){
-
- /* X11: if we receive IEOF for X11, then we have to FORCE sending of IEOF,
- * this is from ssh-1.2.27 debugging output.
- */
- if(c->x11){
- debug("channel %d: OUTPUT_OPEN -> OUTPUT_CLOSED/INPUT_WAIT_OCLOSED [X11 FIX]", c->self);
- chan_send_ieof(c);
- c->istate=CHAN_INPUT_WAIT_OCLOSE;
- chan_send_oclose(c);
- c->ostate=CHAN_OUTPUT_CLOSED;
- chan_delele_if_full_closed(c);
- return;
- }
switch(c->ostate){
case CHAN_OUTPUT_OPEN:
debug("channel %d: OUTPUT_OPEN -> OUTPUT_WAIT_DRAIN [rvcd IEOF]", c->self);