summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-03-27 17:36:41 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-03-27 17:36:41 +0000
commit57686a82a5a055f53f3ae351bce21a7a93d38304 (patch)
tree6e78935ffd0c09e22e45ab96f46b84a67f889323 /channels.h
parent43a5e2f70e3fc38de55b45f580e92b7be84cfa34 (diff)
- markus@cvs.openbsd.org 2002/03/26 22:50:39
[channels.h] CHANNEL_EFD_OUTPUT_ACTIVE is false for CHAN_CLOSE_RCVD, too
Diffstat (limited to 'channels.h')
-rw-r--r--channels.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.h b/channels.h
index 0da2d4e5..bd31c455 100644
--- a/channels.h
+++ b/channels.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: channels.h,v 1.66 2002/03/25 21:13:51 markus Exp $ */
+/* $OpenBSD: channels.h,v 1.67 2002/03/26 22:50:39 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -145,7 +145,7 @@ struct Channel {
buffer_len(&c->extended) > 0))
#define CHANNEL_EFD_OUTPUT_ACTIVE(c) \
(compat20 && c->extended_usage == CHAN_EXTENDED_WRITE && \
- ((c->efd != -1 && !(c->flags & CHAN_EOF_RCVD)) || \
+ ((c->efd != -1 && !(c->flags & (CHAN_EOF_RCVD|CHAN_CLOSE_RCVD))) || \
buffer_len(&c->extended) > 0))
/* channel management */