gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r31360 - gnunet/src/mesh
Date: Fri, 13 Dec 2013 14:33:19 +0100

Author: bartpolot
Date: 2013-12-13 14:33:19 +0100 (Fri, 13 Dec 2013)
New Revision: 31360

Modified:
   gnunet/src/mesh/gnunet-service-mesh_tunnel.c
Log:
- fix 3163#c7868


Modified: gnunet/src/mesh/gnunet-service-mesh_tunnel.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2013-12-13 13:25:31 UTC 
(rev 31359)
+++ gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2013-12-13 13:33:19 UTC 
(rev 31360)
@@ -1774,7 +1774,7 @@
   }
 
   /* Start new connections if needed */
-  if (NULL == t->connection_head)
+  if (NULL == t->connection_head && GNUNET_NO == t->destroy)
   {
     LOG (GNUNET_ERROR_TYPE_DEBUG, "  no more connections\n");
     GMP_connect (t->peer);
@@ -1941,6 +1941,8 @@
   if (NULL == t)
     return;
 
+  t->destroy = 2;
+
   LOG (GNUNET_ERROR_TYPE_DEBUG, "destroying tunnel %s\n", GMP_2s (t->peer));
 
   GNUNET_break (GNUNET_YES ==




reply via email to

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