summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/nchan.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>1999-10-25 21:04:28 +0000
committermarkus <markus@openbsd.org>1999-10-25 21:04:28 +0000
commit7aade07cce3ba914e1cad8b72bca3cf378cf7654 (patch)
tree1959ab6a4e1155ad04e6783018f77382870e7f5a /usr.bin/ssh/nchan.c
parenttypo in debug messages (input vs. ouput) (diff)
downloadwireguard-openbsd-7aade07cce3ba914e1cad8b72bca3cf378cf7654.tar.xz
wireguard-openbsd-7aade07cce3ba914e1cad8b72bca3cf378cf7654.zip
remove buggy 'x11-fix'
Diffstat (limited to 'usr.bin/ssh/nchan.c')
-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);