diff options
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels.h b/channels.h index 0da2d4e5e..bd31c4558 100644 --- a/channels.h +++ b/channels.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: channels.h,v 1.66 2002/03/25 21:13:51 markus Exp $ */ | 1 | /* $OpenBSD: channels.h,v 1.67 2002/03/26 22:50:39 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -145,7 +145,7 @@ struct Channel { | |||
145 | buffer_len(&c->extended) > 0)) | 145 | buffer_len(&c->extended) > 0)) |
146 | #define CHANNEL_EFD_OUTPUT_ACTIVE(c) \ | 146 | #define CHANNEL_EFD_OUTPUT_ACTIVE(c) \ |
147 | (compat20 && c->extended_usage == CHAN_EXTENDED_WRITE && \ | 147 | (compat20 && c->extended_usage == CHAN_EXTENDED_WRITE && \ |
148 | ((c->efd != -1 && !(c->flags & CHAN_EOF_RCVD)) || \ | 148 | ((c->efd != -1 && !(c->flags & (CHAN_EOF_RCVD|CHAN_CLOSE_RCVD))) || \ |
149 | buffer_len(&c->extended) > 0)) | 149 | buffer_len(&c->extended) > 0)) |
150 | 150 | ||
151 | /* channel management */ | 151 | /* channel management */ |