From: Christian Grothoff Date: Mon, 24 Oct 2011 13:23:57 +0000 (+0000) Subject: check return vals X-Git-Tag: initial-import-from-subversion-38251~16289 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a4d9602c5321270b76da9f291c976988ce371ecb;p=oweals%2Fgnunet.git check return vals --- 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);