diff options
author | Damien Miller <djm@mindrot.org> | 2002-01-22 13:22:20 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-01-22 13:22:20 +0100 |
commit | 4ce25952597aa5a6daabc5a1f55133b86e358fb2 (patch) | |
tree | b859976f406e0a54e9851cc1b14aba8b8fc5cbaa | |
parent | - markus@cvs.openbsd.org 2002/01/10 11:24:04 (diff) | |
download | openssh-4ce25952597aa5a6daabc5a1f55133b86e358fb2.tar.xz openssh-4ce25952597aa5a6daabc5a1f55133b86e358fb2.zip |
- markus@cvs.openbsd.org 2002/01/10 12:38:26
[nchan.c]
remove dead code (skip drain)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | nchan.c | 8 |
2 files changed, 5 insertions, 8 deletions
@@ -116,6 +116,9 @@ - markus@cvs.openbsd.org 2002/01/10 11:24:04 [clientloop.c] handle SSH2_MSG_GLOBAL_REQUEST (just reply with failure); ok djm@ + - markus@cvs.openbsd.org 2002/01/10 12:38:26 + [nchan.c] + remove dead code (skip drain) 20020121 @@ -7264,4 +7267,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1756 2002/01/22 12:21:58 djm Exp $ +$Id: ChangeLog,v 1.1757 2002/01/22 12:22:20 djm Exp $ @@ -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", |