From 472d05716adc8e06076551febe5ead3b1e3a67dc Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 22 Jan 2002 23:28:28 +1100 Subject: - markus@cvs.openbsd.org 2002/01/14 13:41:13 [nchan.c] remove duplicated code; ok provos@ --- nchan.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'nchan.c') diff --git a/nchan.c b/nchan.c index 8b793714e..9ecf42105 100644 --- a/nchan.c +++ b/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); -- cgit v1.2.3