c3018
authorChristian Grothoff <christian@grothoff.org>
Fri, 16 Sep 2011 13:47:05 +0000 (13:47 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 16 Sep 2011 13:47:05 +0000 (13:47 +0000)
src/arm/test_exponential_backoff.c
src/vpn/gnunet-daemon-vpn.c

index 3b68039b1c25bf5370efd8c4bb76a7320bac2c1a..778a4b84c7312b595343e882efd203f8a0d7bf37 100644 (file)
@@ -369,11 +369,12 @@ task (void *cls, char *const *args, const char *cfgfile,
 #endif
 }
 
+
 static int
 check ()
 {
   char *const argv[] = {
-    "test-arm-api",
+    "test-exponential-backoff",
     "-c", "test_arm_api_data.conf",
 #if VERBOSE
     "-L", "DEBUG",
index 06cade482b521f00782f6c22b7a9173f42be4254..39c4e69c0a0951d8f93dc533d99b9ad61e4cd51f 100644 (file)
@@ -182,7 +182,8 @@ collect_mappings (void *cls
 
   /* FIXME! GNUNET_MESH_close_tunnel(me->tunnel); */
 
-  GNUNET_CONTAINER_multihashmap_remove (hashmap, &me->hash, me);
+  GNUNET_assert (GNUNET_YES ==
+                GNUNET_CONTAINER_multihashmap_remove (hashmap, &me->hash, me));
 
   GNUNET_free (me);
 }