aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesh/gnunet-service-mesh_tunnel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c
index a44fecab7..e92d54a65 100644
--- a/src/mesh/gnunet-service-mesh_tunnel.c
+++ b/src/mesh/gnunet-service-mesh_tunnel.c
@@ -335,6 +335,8 @@ estate2s (enum MeshTunnel3EState es)
335static int 335static int
336is_ready (struct MeshTunnel3 *t) 336is_ready (struct MeshTunnel3 *t)
337{ 337{
338 LOG (GNUNET_ERROR_TYPE_DEBUG, " ready: cs=%s, es=%s\n",
339 cstate2s (t->cstate), estate2s (t->estate));
338 return (MESH_TUNNEL3_READY == t->cstate 340 return (MESH_TUNNEL3_READY == t->cstate
339 && MESH_TUNNEL3_KEY_OK == t->estate) 341 && MESH_TUNNEL3_KEY_OK == t->estate)
340 || GMT_is_loopback (t); 342 || GMT_is_loopback (t);
@@ -1765,7 +1767,6 @@ GMT_remove_connection (struct MeshTunnel3 *t, struct MeshConnection *c)
1765 { 1767 {
1766 GNUNET_CONTAINER_DLL_remove (t->connection_head, t->connection_tail, aux); 1768 GNUNET_CONTAINER_DLL_remove (t->connection_head, t->connection_tail, aux);
1767 GNUNET_free (aux); 1769 GNUNET_free (aux);
1768 return;
1769 } 1770 }
1770 1771
1771 /* Start new connections if needed */ 1772 /* Start new connections if needed */