summaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-10-28 01:54:03 +0000
committerBart Polot <bart@net.in.tum.de>2011-10-28 01:54:03 +0000
commit6d718cd3e1080627d1241fa61a8aa6d73de4bfa7 (patch)
tree4d6d6cecd2c778860c0b1d4e7a26d87dfc56bfec /src/mesh
parenta653f8615d33ff59518f4134c0820ba477647fff (diff)
Fix testcase
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/test_mesh_small.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesh/test_mesh_small.c b/src/mesh/test_mesh_small.c
index cf647be56..e949a89e9 100644
--- a/src/mesh/test_mesh_small.c
+++ b/src/mesh/test_mesh_small.c
@@ -688,10 +688,13 @@ peergroup_ready (void *cls, const char *emsg)
peers_running = GNUNET_TESTING_daemons_running (pg);
for (i = 0; i < num_peers; i++)
{
+ GNUNET_PEER_Id peer_id;
+
d1 = GNUNET_TESTING_daemon_get (pg, i);
+ peer_id = GNUNET_PEER_intern(&d1->id);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"***************** test: %u: %s\n",
- GNUNET_PEER_intern(&d1->id),
+ peer_id,
GNUNET_i2s (&d1->id));
}
d1 = GNUNET_TESTING_daemon_get (pg, 0);