From: Wilfried Göesgens Date: Tue, 22 Jan 2008 22:20:28 +0000 (+0000) Subject: * if two edit in the same screen... X-Git-Tag: v7.86~2563 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=1e6bc9e2b9e576a42995d776675e12a8a98919de;p=citadel.git * if two edit in the same screen... --- diff --git a/webcit/webserver.c b/webcit/webserver.c index 9a409e3a5..626922a25 100644 --- a/webcit/webserver.c +++ b/webcit/webserver.c @@ -279,6 +279,7 @@ ssize_t client_write(const void *buf, size_t count) write(2, buf, count); write(2, "\033[30m", 5); #endif + fdflags = fcntl(WC->http_sock, F_GETFL); while (bytesWritten < count) { if ((fdflags & O_NONBLOCK) == O_NONBLOCK) {