aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh_path.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/mesh_path.c')
-rw-r--r--src/mesh/mesh_path.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesh/mesh_path.c b/src/mesh/mesh_path.c
index b5c6ce82f..f1c68c005 100644
--- a/src/mesh/mesh_path.c
+++ b/src/mesh/mesh_path.c
@@ -187,8 +187,9 @@ path_debug (struct MeshPeerPath *p)
187{ 187{
188 unsigned int i; 188 unsigned int i;
189 189
190 fprintf (stderr, "PATH:"); 190 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "PATH:\n");
191 for (i = 0; i < p->length; i++) 191 for (i = 0; i < p->length; i++)
192 fprintf (stderr, " %s", GNUNET_i2s (GNUNET_PEER_resolve2 (p->peers[i]))); 192 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " %s\n",
193 fprintf (stderr, " END\n"); 193 GNUNET_i2s (GNUNET_PEER_resolve2 (p->peers[i])));
194 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "END\n");
194} 195}