diff options
author | Damien Miller <djm@mindrot.org> | 2002-01-22 23:28:28 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-01-22 23:28:28 +1100 |
commit | 472d05716adc8e06076551febe5ead3b1e3a67dc (patch) | |
tree | 8f9a409701aeabe0bda891f60003deeacd4c7102 /nchan.c | |
parent | ebc11d30121c53316e5119ce3dfd0844dfcd0002 (diff) |
- markus@cvs.openbsd.org 2002/01/14 13:41:13
[nchan.c]
remove duplicated code; ok provos@
Diffstat (limited to 'nchan.c')
-rw-r--r-- | nchan.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: nchan.c,v 1.40 2002/01/14 13:40:10 markus Exp $"); | 26 | RCSID("$OpenBSD: nchan.c,v 1.41 2002/01/14 13:41:13 markus Exp $"); |
27 | 27 | ||
28 | #include "ssh1.h" | 28 | #include "ssh1.h" |
29 | #include "ssh2.h" | 29 | #include "ssh2.h" |
@@ -324,9 +324,6 @@ chan_write_failed2(Channel *c) | |||
324 | debug("channel %d: write failed", c->self); | 324 | debug("channel %d: write failed", c->self); |
325 | switch (c->ostate) { | 325 | switch (c->ostate) { |
326 | case CHAN_OUTPUT_OPEN: | 326 | case CHAN_OUTPUT_OPEN: |
327 | chan_shutdown_write(c); /* ?? */ | ||
328 | chan_set_ostate(c, CHAN_OUTPUT_CLOSED); | ||
329 | break; | ||
330 | case CHAN_OUTPUT_WAIT_DRAIN: | 327 | case CHAN_OUTPUT_WAIT_DRAIN: |
331 | chan_shutdown_write(c); | 328 | chan_shutdown_write(c); |
332 | chan_set_ostate(c, CHAN_OUTPUT_CLOSED); | 329 | chan_set_ostate(c, CHAN_OUTPUT_CLOSED); |