aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesh/gnunet-service-mesh_peer.c9
-rw-r--r--src/mesh/gnunet-service-mesh_tunnel.c2
2 files changed, 9 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh_peer.c b/src/mesh/gnunet-service-mesh_peer.c
index 254bdc228..4160e5fa7 100644
--- a/src/mesh/gnunet-service-mesh_peer.c
+++ b/src/mesh/gnunet-service-mesh_peer.c
@@ -1345,8 +1345,15 @@ GMP_init (const struct GNUNET_CONFIGURATION_Handle *c)
1345 transport_handle = GNUNET_TRANSPORT_connect (c, &my_full_id, NULL, /* cls */ 1345 transport_handle = GNUNET_TRANSPORT_connect (c, &my_full_id, NULL, /* cls */
1346 /* Notify callbacks */ 1346 /* Notify callbacks */
1347 NULL, NULL, NULL); 1347 NULL, NULL, NULL);
1348
1349 } 1348 }
1349 else
1350 {
1351 LOG (GNUNET_ERROR_TYPE_WARNING, "**************************************\n");
1352 LOG (GNUNET_ERROR_TYPE_WARNING, "* DISABLE TRYING CONNECT in config *\n");
1353 LOG (GNUNET_ERROR_TYPE_WARNING, "* Use this only for test purposes. *\n");
1354 LOG (GNUNET_ERROR_TYPE_WARNING, "**************************************\n");
1355 }
1356
1350 1357
1351 1358
1352 if (NULL == core_handle) 1359 if (NULL == core_handle)
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c
index fff9a59da..4a8973d08 100644
--- a/src/mesh/gnunet-service-mesh_tunnel.c
+++ b/src/mesh/gnunet-service-mesh_tunnel.c
@@ -652,7 +652,7 @@ tunnel_get_connection (struct MeshTunnel3 *t)
652 unsigned int qn; 652 unsigned int qn;
653 unsigned int lowest_q; 653 unsigned int lowest_q;
654 654
655 LOG (GNUNET_ERROR_TYPE_DEBUG, "tunnel_get_connection %s\n", GMP_2s (t->peer)); 655 LOG (GNUNET_ERROR_TYPE_DEBUG, "tunnel_get_connection %s\n", GMT_2s (t));
656 best = NULL; 656 best = NULL;
657 lowest_q = UINT_MAX; 657 lowest_q = UINT_MAX;
658 for (iter = t->connection_head; NULL != iter; iter = iter->next) 658 for (iter = t->connection_head; NULL != iter; iter = iter->next)