From b4eae130dfb6263443b2230e871535b10ee6c5d3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 18 Jul 2011 07:16:28 +0000 Subject: [PATCH] assert --- src/transport/plugin_transport_http.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index f85af6293..93001beec 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c @@ -664,7 +664,10 @@ remove_peer_context_Iterator (void *cls, "Freeing context for peer `%s'\n", GNUNET_i2s(&pc->identity)); #endif - GNUNET_CONTAINER_multihashmap_remove (plugin->peers, &pc->identity.hashPubKey, pc); + GNUNET_assert (GNUNET_YES == + GNUNET_CONTAINER_multihashmap_remove (plugin->peers, + &pc->identity.hashPubKey, + pc)); while (ps!=NULL) { plugin->env->session_end(plugin, &pc->identity, ps); -- 2.25.1