added assertion (which is successfully failing ;-) )
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 1 Feb 2012 09:04:28 +0000 (09:04 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 1 Feb 2012 09:04:28 +0000 (09:04 +0000)
src/transport/gnunet-service-transport_blacklist.c

index 105f1fcaf8bf73de058b67543cc9d0e4ef5f3cd6..6bd1caa50b59ad76a73c4ee7a8ba987027e3fa91 100644 (file)
@@ -722,6 +722,9 @@ test_blacklisted (void *cls, const GNUNET_HashCode * key, void *value)
   const char *transport_name = cls;
   char *be = value;
 
+  GNUNET_assert (transport_name != NULL);
+  GNUNET_assert (be != NULL);
+
   if (0 == strcmp (transport_name, be))
     return GNUNET_NO;           /* abort iteration! */
   return GNUNET_OK;