From: Bart Polot Date: Fri, 28 Oct 2011 01:54:03 +0000 (+0000) Subject: Fix testcase X-Git-Tag: initial-import-from-subversion-38251~16182 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6d718cd3e1080627d1241fa61a8aa6d73de4bfa7;p=oweals%2Fgnunet.git Fix testcase --- 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);