* upsi, wrong way arround.
authorWilfried Göesgens <willi@citadel.org>
Thu, 18 Jun 2009 19:36:04 +0000 (19:36 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 18 Jun 2009 19:36:04 +0000 (19:36 +0000)
webcit/tcp_sockets.c

index 73f18b204aa8590dd4a99eeb8df1446b36e0629f..15a1c1c6998200697a708adcc23c62fb3e68abfc 100644 (file)
@@ -630,7 +630,7 @@ long end_burst(void)
        write(2, ptr, StrLength(WCC->WBuf));
        write(2, "\033[30m", 5);
 #endif
-       if (WCC->Hdr->http_sock != -1)
+       if (WCC->Hdr->http_sock == -1)
                return -1;
        fdflags = fcntl(WC->Hdr->http_sock, F_GETFL);