From: Christian Grothoff Date: Mon, 18 Jul 2011 07:16:28 +0000 (+0000) Subject: assert X-Git-Tag: initial-import-from-subversion-38251~17770 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b4eae130dfb6263443b2230e871535b10ee6c5d3;hp=72dc0570dba131aae4990b4a3fd29559295637ab;p=oweals%2Fgnunet.git assert --- 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);