From: Wilfried Göesgens Date: Thu, 18 Jun 2009 19:36:04 +0000 (+0000) Subject: * upsi, wrong way arround. X-Git-Tag: v7.86~1031 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=f5230462e264c0ec4d2a01a2a8e7074f5a37934b * upsi, wrong way arround. --- diff --git a/webcit/tcp_sockets.c b/webcit/tcp_sockets.c index 73f18b204..15a1c1c69 100644 --- a/webcit/tcp_sockets.c +++ b/webcit/tcp_sockets.c @@ -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);