towards fixing 1903: break instead of assert
authorChristian Grothoff <christian@grothoff.org>
Mon, 14 Nov 2011 22:38:17 +0000 (22:38 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 14 Nov 2011 22:38:17 +0000 (22:38 +0000)
src/ats/gnunet-service-ats_addresses.c

index 9884104f173215e3db07dbdbe26ffe8f19dd1b37..ee76842b622eddfee86d5a092af4c5e6a699c961 100644 (file)
@@ -325,7 +325,7 @@ destroy_by_session_id (void *cls, const GNUNET_HashCode * key, void *value)
   }
   if (aa->session_id != info->session_id)
     return GNUNET_OK; /* irrelevant */
-  GNUNET_assert (0 == strcmp (info->plugin,
+  GNUNET_break (0 == strcmp (info->plugin,
                              aa->plugin));
   /* session died */
   aa->session_id = 0;