projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
assert
[oweals/gnunet.git]
/
src
/
transport
/
plugin_transport_http.c
diff --git
a/src/transport/plugin_transport_http.c
b/src/transport/plugin_transport_http.c
index f85af629346cf059bdc3d1045d21f416a18da0e1..93001beec2b7d48fcdcacbda11a1d52ba7688b57 100644
(file)
--- 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
"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);
while (ps!=NULL)
{
plugin->env->session_end(plugin, &pc->identity, ps);