summaryrefslogtreecommitdiff
path: root/nchan.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 23:22:20 +1100
committerDamien Miller <djm@mindrot.org>2002-01-22 23:22:20 +1100
commit4ce25952597aa5a6daabc5a1f55133b86e358fb2 (patch)
treeb859976f406e0a54e9851cc1b14aba8b8fc5cbaa /nchan.c
parentc3fa407073d92fe11efb0c07c4d9da4720289ce7 (diff)
downloadopenssh-git-4ce25952597aa5a6daabc5a1f55133b86e358fb2.tar.gz
- markus@cvs.openbsd.org 2002/01/10 12:38:26
[nchan.c] remove dead code (skip drain)
Diffstat (limited to 'nchan.c')
-rw-r--r--nchan.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/nchan.c b/nchan.c
index ae1fe47c..79fff66c 100644
--- a/nchan.c
+++ b/nchan.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: nchan.c,v 1.34 2002/01/09 17:26:35 markus Exp $");
+RCSID("$OpenBSD: nchan.c,v 1.35 2002/01/10 12:38:26 markus Exp $");
#include "ssh1.h"
#include "ssh2.h"
@@ -123,12 +123,6 @@ chan_read_failed_12(Channel *c)
debug("channel %d: input open -> drain", c->self);
chan_shutdown_read(c);
c->istate = CHAN_INPUT_WAIT_DRAIN;
-#if 0
- if (buffer_len(&c->input) == 0) {
- debug("channel %d: input: no drain shortcut", c->self);
- chan_ibuf_empty(c);
- }
-#endif
break;
default:
error("channel %d: chan_read_failed for istate %d",