diff options
author | djm <djm> | 2002-01-22 12:22:20 +0000 |
---|---|---|
committer | djm <djm> | 2002-01-22 12:22:20 +0000 |
commit | 7c6466db6ff579333ecd5c0adc49675460b6cc06 (patch) | |
tree | 7088a5026d4507b2c6bbc07d2828e8eee24fd5ec /nchan.c | |
parent | 5db1a9f593cd4cef765aa68fcbbada3423669419 (diff) | |
download | openssh-7c6466db6ff579333ecd5c0adc49675460b6cc06.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.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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", |