aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-22 14:34:28 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-22 14:34:28 +0000
commit77ba8586ed976aec632d6119e174460966c99084 (patch)
treee3710b57993ccb51ceac01673c849e555ad31e77 /src
parent0e86dc081782755e1e70615e8ad230bec9f4f7c9 (diff)
downloadgnunet-77ba8586ed976aec632d6119e174460966c99084.tar.gz
gnunet-77ba8586ed976aec632d6119e174460966c99084.zip
xtra checks
Diffstat (limited to 'src')
-rw-r--r--src/util/server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/server.c b/src/util/server.c
index 0b894d2a8..5b9361cfc 100644
--- a/src/util/server.c
+++ b/src/util/server.c
@@ -849,6 +849,9 @@ process_incoming (void *cls,
849 client->idle_timeout); 849 client->idle_timeout);
850 850
851 if ( (buf == NULL) && (available == 0) && (addr == NULL) && (errCode == 0) && 851 if ( (buf == NULL) && (available == 0) && (addr == NULL) && (errCode == 0) &&
852 (client->shutdown_now != GNUNET_YES) &&
853 (server != NULL) &&
854 (GNUNET_YES == GNUNET_CONNECTION_check (client->connection)) &&
852 (end.abs_value > now.abs_value) ) 855 (end.abs_value > now.abs_value) )
853 { 856 {
854 /* wait longer, timeout changed (i.e. due to us sending) */ 857 /* wait longer, timeout changed (i.e. due to us sending) */