gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r27599 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r27599 - gnunet/src/mesh
Date: Wed, 26 Jun 2013 01:40:14 +0200

Author: bartpolot
Date: 2013-06-26 01:40:14 +0200 (Wed, 26 Jun 2013)
New Revision: 27599

Modified:
   gnunet/src/mesh/mesh2_api.c
   gnunet/src/mesh/test_mesh2_local.c
Log:
- fix unrelated bug in 2906 comments

Modified: gnunet/src/mesh/mesh2_api.c
===================================================================
--- gnunet/src/mesh/mesh2_api.c 2013-06-25 23:37:13 UTC (rev 27598)
+++ gnunet/src/mesh/mesh2_api.c 2013-06-25 23:40:14 UTC (rev 27599)
@@ -495,9 +495,7 @@
   }
   h = t->mesh;
 
-  /* free all peer's ID */
   GNUNET_CONTAINER_DLL_remove (h->tunnels_head, h->tunnels_tail, t);
-  GNUNET_PEER_change_rc (t->peer, -1);
 
   /* signal tunnel destruction */
   if ( (NULL != h->cleaner) && (0 != t->peer) && (GNUNET_YES == call_cleaner) )

Modified: gnunet/src/mesh/test_mesh2_local.c
===================================================================
--- gnunet/src/mesh/test_mesh2_local.c  2013-06-25 23:37:13 UTC (rev 27598)
+++ gnunet/src/mesh/test_mesh2_local.c  2013-06-25 23:40:14 UTC (rev 27599)
@@ -58,7 +58,7 @@
   }
   if (NULL != t)
   {
-    GNUNET_MESH_tunnel_destroy(t);
+    GNUNET_MESH_tunnel_destroy (t);
   }
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: D1\n");
   if (NULL != mesh_peer_1)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]