assert
authorChristian Grothoff <christian@grothoff.org>
Thu, 16 Jun 2011 11:16:20 +0000 (11:16 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 16 Jun 2011 11:16:20 +0000 (11:16 +0000)
src/topology/gnunet-daemon-topology.c

index 628c557ae4ac9538947c3c762e6062053bfb6419..ebe19a58d706e1177bae5b3fea066317928cba77 100644 (file)
@@ -1289,6 +1289,7 @@ hello_advertising_ready (void *cls,
   size_t want;
 
   pl->hello_req = NULL;
+  GNUNET_assert (GNUNET_YES == pl->is_connected);    
   /* find applicable HELLOs */
   fah.peer = pl;
   fah.result = NULL;