From cc60e5a70c8ed39ab9e6189eb1db8027f37db900 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 16 Jul 2011 20:21:27 +0000 Subject: [PATCH] assert --- src/transport/transport_api_new.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/transport/transport_api_new.c b/src/transport/transport_api_new.c index 70ca3119a..4583cf876 100644 --- a/src/transport/transport_api_new.c +++ b/src/transport/transport_api_new.c @@ -379,9 +379,10 @@ neighbour_delete (void *cls, &n->id); GNUNET_assert (NULL == n->th); GNUNET_assert (NULL == n->hn); - GNUNET_CONTAINER_multihashmap_remove (handle->neighbours, - key, - n); + GNUNET_assert (GNUNET_YES == + GNUNET_CONTAINER_multihashmap_remove (handle->neighbours, + key, + n)); GNUNET_free (n); return GNUNET_YES; } -- 2.25.1