-removing debug code that might be problematic
authorChristian Grothoff <christian@grothoff.org>
Tue, 29 May 2012 13:27:34 +0000 (13:27 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 29 May 2012 13:27:34 +0000 (13:27 +0000)
src/util/server.c

index 70f2a1a70cc0c1adc35f99e2f676ed8451705918..f90b9ab8e403e0f9a35117fc75bb726ef204a74a 100644 (file)
@@ -1020,19 +1020,6 @@ process_incoming (void *cls, const void *buf, size_t available,
   struct GNUNET_TIME_Absolute now;
   int ret;
 
-  /* Check if this client is still valid */
-  for (tmp = server->clients_head; NULL != tmp; tmp = tmp->next)
-  {
-    if (tmp == client)
-      break;
-  }
-
-  if (NULL == tmp)
-  {
-    GNUNET_break (0);
-    return;
-  }
-
   GNUNET_assert (GNUNET_YES == client->receive_pending);
   client->receive_pending = GNUNET_NO;
   now = GNUNET_TIME_absolute_get ();