mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 07:44:29 +02:00
- markus@cvs.openbsd.org 2002/01/10 12:38:26
[nchan.c] remove dead code (skip drain)
This commit is contained in:
parent
c3fa407073
commit
4ce2595259
@ -116,6 +116,9 @@
|
|||||||
- markus@cvs.openbsd.org 2002/01/10 11:24:04
|
- markus@cvs.openbsd.org 2002/01/10 11:24:04
|
||||||
[clientloop.c]
|
[clientloop.c]
|
||||||
handle SSH2_MSG_GLOBAL_REQUEST (just reply with failure); ok djm@
|
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
|
20020121
|
||||||
@ -7264,4 +7267,4 @@
|
|||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- 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 $
|
||||||
|
8
nchan.c
8
nchan.c
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#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 "ssh1.h"
|
||||||
#include "ssh2.h"
|
#include "ssh2.h"
|
||||||
@ -123,12 +123,6 @@ chan_read_failed_12(Channel *c)
|
|||||||
debug("channel %d: input open -> drain", c->self);
|
debug("channel %d: input open -> drain", c->self);
|
||||||
chan_shutdown_read(c);
|
chan_shutdown_read(c);
|
||||||
c->istate = CHAN_INPUT_WAIT_DRAIN;
|
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;
|
break;
|
||||||
default:
|
default:
|
||||||
error("channel %d: chan_read_failed for istate %d",
|
error("channel %d: chan_read_failed for istate %d",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user