mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-03 08:12:05 +00:00
- markus@cvs.openbsd.org 2002/01/14 13:41:13
[nchan.c] remove duplicated code; ok provos@
This commit is contained in:
parent
ebc11d3012
commit
472d05716a
@ -173,6 +173,9 @@
|
|||||||
[nchan.c]
|
[nchan.c]
|
||||||
correct fn names for ssh2, do not switch from closed to closed;
|
correct fn names for ssh2, do not switch from closed to closed;
|
||||||
ok provos@
|
ok provos@
|
||||||
|
- markus@cvs.openbsd.org 2002/01/14 13:41:13
|
||||||
|
[nchan.c]
|
||||||
|
remove duplicated code; ok provos@
|
||||||
|
|
||||||
20020121
|
20020121
|
||||||
- (djm) Rework ssh-rand-helper:
|
- (djm) Rework ssh-rand-helper:
|
||||||
@ -7320,4 +7323,4 @@
|
|||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.1771 2002/01/22 12:28:13 djm Exp $
|
$Id: ChangeLog,v 1.1772 2002/01/22 12:28:28 djm Exp $
|
||||||
|
5
nchan.c
5
nchan.c
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: nchan.c,v 1.40 2002/01/14 13:40:10 markus Exp $");
|
RCSID("$OpenBSD: nchan.c,v 1.41 2002/01/14 13:41:13 markus Exp $");
|
||||||
|
|
||||||
#include "ssh1.h"
|
#include "ssh1.h"
|
||||||
#include "ssh2.h"
|
#include "ssh2.h"
|
||||||
@ -324,9 +324,6 @@ chan_write_failed2(Channel *c)
|
|||||||
debug("channel %d: write failed", c->self);
|
debug("channel %d: write failed", c->self);
|
||||||
switch (c->ostate) {
|
switch (c->ostate) {
|
||||||
case CHAN_OUTPUT_OPEN:
|
case CHAN_OUTPUT_OPEN:
|
||||||
chan_shutdown_write(c); /* ?? */
|
|
||||||
chan_set_ostate(c, CHAN_OUTPUT_CLOSED);
|
|
||||||
break;
|
|
||||||
case CHAN_OUTPUT_WAIT_DRAIN:
|
case CHAN_OUTPUT_WAIT_DRAIN:
|
||||||
chan_shutdown_write(c);
|
chan_shutdown_write(c);
|
||||||
chan_set_ostate(c, CHAN_OUTPUT_CLOSED);
|
chan_set_ostate(c, CHAN_OUTPUT_CLOSED);
|
||||||
|
Loading…
Reference in New Issue
Block a user