projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dd5313
)
Fixed coverity 10118
author
Bart Polot
<bart@net.in.tum.de>
Wed, 12 Oct 2011 14:48:50 +0000
(14:48 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Wed, 12 Oct 2011 14:48:50 +0000
(14:48 +0000)
src/mesh/gnunet-service-mesh.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh.c
b/src/mesh/gnunet-service-mesh.c
index c501c33f0308e2d0b4fe1df056976205e3130132..d0255a048af508ffec5eaa5cb886891b1d18cd70 100644
(file)
--- a/
src/mesh/gnunet-service-mesh.c
+++ b/
src/mesh/gnunet-service-mesh.c
@@
-2873,7
+2873,8
@@
handle_local_tunnel_destroy (void *cls, struct GNUNET_SERVER_Client *client,
/* Remove from global id hashmap */
GNUNET_CRYPTO_hash (&t->id, sizeof (struct MESH_TunnelID), &hash);
- GNUNET_CONTAINER_multihashmap_remove (tunnels, &hash, t);
+ GNUNET_break (GNUNET_YES ==
+ GNUNET_CONTAINER_multihashmap_remove (tunnels, &hash, t));
// notify_tunnel_destroy(t); FIXME
tunnel_destroy(t);