projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ec4353
)
just log the close if we're realy going to close.
author
Wilfried Goesgens
<dothebart@citadel.org>
Tue, 10 May 2011 22:05:46 +0000
(22:05 +0000)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Tue, 10 May 2011 22:15:29 +0000
(22:15 +0000)
citadel/context.c
patch
|
blob
|
history
diff --git
a/citadel/context.c
b/citadel/context.c
index c2d739924fd40940d42928033f79bbdf02f618a8..dde1c3be9d5851e8d9bf93977746a6e36503cc3e 100644
(file)
--- a/
citadel/context.c
+++ b/
citadel/context.c
@@
-335,9
+335,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);
}