aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/transport_api_new.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/transport/transport_api_new.c b/src/transport/transport_api_new.c
index 70ca3119a3..4583cf8760 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;
}