diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2002-01-10 12:38:27 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2002-01-10 12:38:27 +0000 |
commit | ead4095998d1ccb5fa90a64832de35695d6ceaf4 (patch) | |
tree | 0387709167ec7d8b2313a397571af62bef2bb5d3 /usr.bin | |
parent | 4d7f811dba1c78edda9303581e57c229c66a96e2 (diff) |
remove dead code (skip drain)
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/nchan.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/ssh/nchan.c b/usr.bin/ssh/nchan.c index 002321eb0ab..e25d2a494aa 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.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", |