From 6e0842d4f053da85418917d8b34eb8b54f04d964 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Tue, 10 May 2011 22:05:46 +0000 Subject: [PATCH] just log the close if we're realy going to close. --- citadel/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citadel/context.c b/citadel/context.c index e6547417a..fbb3272de 100644 --- a/citadel/context.c +++ b/citadel/context.c @@ -354,9 +354,9 @@ void RemoveContext (CitContext *con) * If the client is still connected, blow 'em away. * if the socket is 0, its already gone or was never there. */ - CtdlLogPrintf(CTDL_DEBUG, "Closing socket %d\n", con->client_socket); if (con->client_socket != 0) { + CtdlLogPrintf(CTDL_DEBUG, "Closing socket %d\n", con->client_socket); close(con->client_socket); } -- 2.30.2