diff options
Diffstat (limited to 'nchan.c')
-rw-r--r-- | nchan.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: nchan.c,v 1.34 2002/01/09 17:26:35 markus Exp $"); | 26 | RCSID("$OpenBSD: nchan.c,v 1.35 2002/01/10 12:38:26 markus Exp $"); |
27 | 27 | ||
28 | #include "ssh1.h" | 28 | #include "ssh1.h" |
29 | #include "ssh2.h" | 29 | #include "ssh2.h" |
@@ -123,12 +123,6 @@ chan_read_failed_12(Channel *c) | |||
123 | debug("channel %d: input open -> drain", c->self); | 123 | debug("channel %d: input open -> drain", c->self); |
124 | chan_shutdown_read(c); | 124 | chan_shutdown_read(c); |
125 | c->istate = CHAN_INPUT_WAIT_DRAIN; | 125 | c->istate = CHAN_INPUT_WAIT_DRAIN; |
126 | #if 0 | ||
127 | if (buffer_len(&c->input) == 0) { | ||
128 | debug("channel %d: input: no drain shortcut", c->self); | ||
129 | chan_ibuf_empty(c); | ||
130 | } | ||
131 | #endif | ||
132 | break; | 126 | break; |
133 | default: | 127 | default: |
134 | error("channel %d: chan_read_failed for istate %d", | 128 | error("channel %d: chan_read_failed for istate %d", |