[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r17746 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r17746 - gnunet/src/mesh |
Date: |
Tue, 25 Oct 2011 15:48:34 +0200 |
Author: bartpolot
Date: 2011-10-25 15:48:34 +0200 (Tue, 25 Oct 2011)
New Revision: 17746
Modified:
gnunet/src/mesh/gnunet-service-mesh.c
Log:
Changed assert to break, not critical failure
Modified: gnunet/src/mesh/gnunet-service-mesh.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh.c 2011-10-25 13:38:19 UTC (rev
17745)
+++ gnunet/src/mesh/gnunet-service-mesh.c 2011-10-25 13:48:34 UTC (rev
17746)
@@ -1301,8 +1301,13 @@
GNUNET_PEER_change_rc (pi->id, -1);
GNUNET_CRYPTO_hash (&id, sizeof (struct GNUNET_PeerIdentity), &hash);
- GNUNET_assert (GNUNET_YES ==
- GNUNET_CONTAINER_multihashmap_remove (peers, &hash, pi));
+ if (GNUNET_YES != GNUNET_CONTAINER_multihashmap_remove (peers, &hash, pi))
+ {
+ GNUNET_break (0);
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "MESH: removing peer %s, not in hashmap\n",
+ GNUNET_i2s (&id));
+ }
if (NULL != pi->dhtget)
{
GNUNET_DHT_get_stop(pi->dhtget);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r17746 - gnunet/src/mesh,
gnunet <=