diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/nchan.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/ssh/nchan.c b/usr.bin/ssh/nchan.c index 9495aeb63b0..ae4117f3c5b 100644 --- a/usr.bin/ssh/nchan.c +++ b/usr.bin/ssh/nchan.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: nchan.c,v 1.40 2002/01/14 13:40:10 markus Exp $"); +RCSID("$OpenBSD: nchan.c,v 1.41 2002/01/14 13:41:13 markus Exp $"); #include "ssh1.h" #include "ssh2.h" @@ -324,9 +324,6 @@ chan_write_failed2(Channel *c) debug("channel %d: write failed", c->self); switch (c->ostate) { case CHAN_OUTPUT_OPEN: - chan_shutdown_write(c); /* ?? */ - chan_set_ostate(c, CHAN_OUTPUT_CLOSED); - break; case CHAN_OUTPUT_WAIT_DRAIN: chan_shutdown_write(c); chan_set_ostate(c, CHAN_OUTPUT_CLOSED); |