summaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-02-01 09:04:28 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-02-01 09:04:28 +0000
commita00e615c41331b3366781a62a1db864abb9c6105 (patch)
treea6026fd3363f08f116d3c71fac6a3935982996aa /src/transport
parent724a22d29b2dde3f586d9b3b6d4f1eabb7e12dc3 (diff)
added assertion (which is successfully failing ;-) )
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/gnunet-service-transport_blacklist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_blacklist.c b/src/transport/gnunet-service-transport_blacklist.c
index 105f1fcaf..6bd1caa50 100644
--- a/src/transport/gnunet-service-transport_blacklist.c
+++ b/src/transport/gnunet-service-transport_blacklist.c
@@ -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;