X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcontext.c;h=fa2946cafcc43ec0f7596a646664aa18bce90d0d;hb=750c4d0af8a70134878c86be49b7754775802dbe;hp=527828898fd9e58cdb4ac4defb163dfcd86ce69c;hpb=678419c0cdd4f83ff3bbe56ff960f15d2fffce20;p=citadel.git diff --git a/citadel/context.c b/citadel/context.c index 527828898..fa2946caf 100644 --- a/citadel/context.c +++ b/citadel/context.c @@ -361,9 +361,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); }