X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftransport%2Fplugin_transport_http.c;h=93001beec2b7d48fcdcacbda11a1d52ba7688b57;hb=b4eae130dfb6263443b2230e871535b10ee6c5d3;hp=f85af629346cf059bdc3d1045d21f416a18da0e1;hpb=72dc0570dba131aae4990b4a3fd29559295637ab;p=oweals%2Fgnunet.git 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);