fix
authorChristian Grothoff <christian@grothoff.org>
Thu, 4 Aug 2011 11:29:19 +0000 (11:29 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 4 Aug 2011 11:29:19 +0000 (11:29 +0000)
src/core/gnunet-service-core.c

index e83156e591106354bbf3982e3ea922f593e1dcc7..2e68571a469ad91787d1c4601eeaade6aa951550 100644 (file)
@@ -1228,6 +1228,8 @@ broadcast_my_type_map ()
 {  
   struct GNUNET_MessageHeader *hdr;
 
+  if (NULL == neighbours)
+    return;
   hdr = compute_type_map_message ();
   GNUNET_CONTAINER_multihashmap_iterate (neighbours,
                                         &send_type_map_to_neighbour,