* if two edit in the same screen...
authorWilfried Göesgens <willi@citadel.org>
Tue, 22 Jan 2008 22:20:28 +0000 (22:20 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 22 Jan 2008 22:20:28 +0000 (22:20 +0000)
webcit/webserver.c

index 9a409e3a5924a38806e6e6ddf971d9796e5525eb..626922a251d98b936b95ae0abf08788a0d7e9717 100644 (file)
@@ -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) {