From f5230462e264c0ec4d2a01a2a8e7074f5a37934b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Thu, 18 Jun 2009 19:36:04 +0000 Subject: [PATCH] * upsi, wrong way arround. --- webcit/tcp_sockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2