aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-07-18 07:16:28 +0000
committerChristian Grothoff <christian@grothoff.org>2011-07-18 07:16:28 +0000
commitb4eae130dfb6263443b2230e871535b10ee6c5d3 (patch)
tree62fd9efd72965943a901d08f39e814619051112f /src
parent72dc0570dba131aae4990b4a3fd29559295637ab (diff)
downloadgnunet-b4eae130dfb6263443b2230e871535b10ee6c5d3.tar.gz
gnunet-b4eae130dfb6263443b2230e871535b10ee6c5d3.zip
assert
Diffstat (limited to 'src')
-rw-r--r--src/transport/plugin_transport_http.c5
1 files changed, 4 insertions, 1 deletions
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,
664 "Freeing context for peer `%s'\n", 664 "Freeing context for peer `%s'\n",
665 GNUNET_i2s(&pc->identity)); 665 GNUNET_i2s(&pc->identity));
666#endif 666#endif
667 GNUNET_CONTAINER_multihashmap_remove (plugin->peers, &pc->identity.hashPubKey, pc); 667 GNUNET_assert (GNUNET_YES ==
668 GNUNET_CONTAINER_multihashmap_remove (plugin->peers,
669 &pc->identity.hashPubKey,
670 pc));
668 while (ps!=NULL) 671 while (ps!=NULL)
669 { 672 {
670 plugin->env->session_end(plugin, &pc->identity, ps); 673 plugin->env->session_end(plugin, &pc->identity, ps);