make compile
authorChristian Grothoff <christian@grothoff.org>
Sun, 14 Aug 2011 14:27:04 +0000 (14:27 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 14 Aug 2011 14:27:04 +0000 (14:27 +0000)
src/transport/gnunet-service-transport_blacklist.c

index 7250b6e45ed48e77d4815447a7496913766a0ccf..83d8e44ec3fdb919edb052ef00bcf47a604feeca 100644 (file)
@@ -792,7 +792,7 @@ GST_blacklist_test_allowed (const struct GNUNET_PeerIdentity *peer,
                                 GNUNET_NO);
       if (cont != NULL)
        cont (cont_cls, peer, GNUNET_NO);
-      return;
+      return NULL;
     }
 
   if (bl_head == NULL)
@@ -800,7 +800,7 @@ GST_blacklist_test_allowed (const struct GNUNET_PeerIdentity *peer,
       /* no blacklist clients, approve instantly */
       if (cont != NULL)
         cont (cont_cls, peer, GNUNET_OK);
-      return;
+      return NULL;
     }
 
   /* need to query blacklist clients */