summaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-24 13:23:57 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-24 13:23:57 +0000
commita4d9602c5321270b76da9f291c976988ce371ecb (patch)
treed24b02798ae28d539901566e84441f5295ba8204 /src/mesh
parente2dec2d081a9e2f1a9a19f114efaa974047f26a8 (diff)
check return vals
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/gnunet-service-mesh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c
index 19650dcb6..7cdc56e79 100644
--- a/src/mesh/gnunet-service-mesh.c
+++ b/src/mesh/gnunet-service-mesh.c
@@ -1284,7 +1284,8 @@ peer_info_destroy (struct MeshPeerInfo *pi)
GNUNET_PEER_change_rc (pi->id, -1);
GNUNET_CRYPTO_hash (&id, sizeof (struct GNUNET_PeerIdentity), &hash);
- GNUNET_CONTAINER_multihashmap_remove (peers, &hash, pi);
+ GNUNET_assert (GNUENT_YES ==
+ GNUNET_CONTAINER_multihashmap_remove (peers, &hash, pi));
if (NULL != pi->dhtget)
{
GNUNET_DHT_get_stop(pi->dhtget);