X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=windows%2Fwinhandl.c;h=cfd6298747e6f1805b087509ff8e56d50931a274;hb=23fbc4f56b04ca5d387c16720caa05ddf2d63e2f;hp=e5a5e2d541aea5c00848bd8d314fd33a65f50636;hpb=8fdeb3a95cc3d7dce5629fc22e309eb3c996f44d;p=PuTTY.git diff --git a/windows/winhandl.c b/windows/winhandl.c index e5a5e2d5..cfd62987 100644 --- a/windows/winhandl.c +++ b/windows/winhandl.c @@ -533,7 +533,7 @@ void handle_write_eof(struct handle *h) * direction! */ assert(h->type == HT_OUTPUT); - if (!h->u.o.outgoingeof == EOF_NO) { + if (h->u.o.outgoingeof == EOF_NO) { h->u.o.outgoingeof = EOF_PENDING; handle_try_output(&h->u.o); }