diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-18 07:16:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-18 07:16:28 +0000 |
commit | b4eae130dfb6263443b2230e871535b10ee6c5d3 (patch) | |
tree | 62fd9efd72965943a901d08f39e814619051112f /src | |
parent | 72dc0570dba131aae4990b4a3fd29559295637ab (diff) | |
download | gnunet-b4eae130dfb6263443b2230e871535b10ee6c5d3.tar.gz gnunet-b4eae130dfb6263443b2230e871535b10ee6c5d3.zip |
assert
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/plugin_transport_http.c | 5 |
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); |