gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r31336 - gnunet/src/mesh
Date: Thu, 12 Dec 2013 19:56:20 +0100

Author: bartpolot
Date: 2013-12-12 19:56:20 +0100 (Thu, 12 Dec 2013)
New Revision: 31336

Modified:
   gnunet/src/mesh/gnunet-service-mesh_tunnel.c
Log:
- don't return on found connection, more checks to go


Modified: gnunet/src/mesh/gnunet-service-mesh_tunnel.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2013-12-12 18:50:03 UTC 
(rev 31335)
+++ gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2013-12-12 18:56:20 UTC 
(rev 31336)
@@ -335,6 +335,8 @@
 static int
 is_ready (struct MeshTunnel3 *t)
 {
+  LOG (GNUNET_ERROR_TYPE_DEBUG, "  ready: cs=%s, es=%s\n",
+       cstate2s (t->cstate), estate2s (t->estate));
   return (MESH_TUNNEL3_READY == t->cstate
           && MESH_TUNNEL3_KEY_OK == t->estate)
          || GMT_is_loopback (t);
@@ -1765,7 +1767,6 @@
     {
       GNUNET_CONTAINER_DLL_remove (t->connection_head, t->connection_tail, 
aux);
       GNUNET_free (aux);
-      return;
     }
 
   /* Start new connections if needed */




reply via email to

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