assert for stat analysis
authorChristian Grothoff <christian@grothoff.org>
Mon, 21 Mar 2011 11:01:53 +0000 (11:01 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 21 Mar 2011 11:01:53 +0000 (11:01 +0000)
src/core/gnunet-service-core.c

index 81df377c526c25c690f0e4cbb532b89524cee441..3068fd4081c53c9d4d0b92f49bed278b0f9b4d0d 100644 (file)
@@ -1375,6 +1375,7 @@ destroy_active_client_request (void *cls,
 
   peer.hashPubKey = *key;
   n = find_neighbour (&peer);
+  GNUNET_assert (NULL != n);
   GNUNET_CONTAINER_DLL_remove (n->active_client_request_head,
                               n->active_client_request_tail,
                               car);