diff options
author | Darren Tucker <dtucker@zip.com.au> | 2008-07-02 14:32:43 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2008-07-02 14:32:43 +0200 |
commit | 8748b965224cea8811d30c8fe9b5d2113d7e49de (patch) | |
tree | 819f130e9df8c70a553f647becb1751a4ecc6de3 /nchan.c | |
parent | - djm@cvs.openbsd.org 2008/06/30 12:15:39 (diff) | |
download | openssh-8748b965224cea8811d30c8fe9b5d2113d7e49de.tar.xz openssh-8748b965224cea8811d30c8fe9b5d2113d7e49de.zip |
- djm@cvs.openbsd.org 2008/06/30 12:16:02
[nchan.c]
only send eow@openssh.com notifications for session channels; ok! markus@
Diffstat (limited to 'nchan.c')
-rw-r--r-- | nchan.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: nchan.c,v 1.59 2008/05/09 16:21:13 markus Exp $ */ +/* $OpenBSD: nchan.c,v 1.60 2008/06/30 12:16:02 djm Exp $ */ /* * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. * @@ -334,7 +334,8 @@ chan_write_failed2(Channel *c) case CHAN_OUTPUT_OPEN: case CHAN_OUTPUT_WAIT_DRAIN: chan_shutdown_write(c); - chan_send_eow2(c); + if (strcmp(c->ctype, "session") == 0) + chan_send_eow2(c); chan_set_ostate(c, CHAN_OUTPUT_CLOSED); break; default: |