summaryrefslogtreecommitdiff
path: root/nchan.c
diff options
context:
space:
mode:
Diffstat (limited to 'nchan.c')
-rw-r--r--nchan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nchan.c b/nchan.c
index c4f55e655..bce7325b3 100644
--- a/nchan.c
+++ b/nchan.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: nchan.c,v 1.46 2002/06/09 13:32:01 markus Exp $"); 26RCSID("$OpenBSD: nchan.c,v 1.47 2002/06/19 00:27:55 deraadt Exp $");
27 27
28#include "ssh1.h" 28#include "ssh1.h"
29#include "ssh2.h" 29#include "ssh2.h"
@@ -367,7 +367,7 @@ chan_rcvd_ieof(Channel *c)
367 else 367 else
368 chan_rcvd_ieof1(c); 368 chan_rcvd_ieof1(c);
369 if (c->ostate == CHAN_OUTPUT_WAIT_DRAIN && 369 if (c->ostate == CHAN_OUTPUT_WAIT_DRAIN &&
370 buffer_len(&c->output) == 0 && 370 buffer_len(&c->output) == 0 &&
371 !CHANNEL_EFD_OUTPUT_ACTIVE(c)) 371 !CHANNEL_EFD_OUTPUT_ACTIVE(c))
372 chan_obuf_empty(c); 372 chan_obuf_empty(c);
373} 373}