aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh_path.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-12-17 16:16:28 +0000
committerBart Polot <bart@net.in.tum.de>2013-12-17 16:16:28 +0000
commit4c0cd0fc1dbd50d8189256d7d4fd801ac9355e69 (patch)
tree3599be3e4cfd48e6cbf5e9ebb89762f1100979a1 /src/mesh/mesh_path.c
parentd626dae9f02dd793a0175cbb89d17785caee8cf5 (diff)
downloadgnunet-4c0cd0fc1dbd50d8189256d7d4fd801ac9355e69.tar.gz
gnunet-4c0cd0fc1dbd50d8189256d7d4fd801ac9355e69.zip
- fix core_disconnect handler to avoid reusing the direct path being destroyed
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}