aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-09-29 13:57:02 +0000
committerChristian Grothoff <christian@grothoff.org>2011-09-29 13:57:02 +0000
commit2dff034218b2622e198871866812b4101d7a2c15 (patch)
treee496dc1d9cb7ede405e09a73a384872b0f9fc378 /src/testing
parent7fd454743b0d54e0493e87214ce57a0126371111 (diff)
downloadgnunet-2dff034218b2622e198871866812b4101d7a2c15.tar.gz
gnunet-2dff034218b2622e198871866812b4101d7a2c15.zip
dbg
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/testing_group.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c
index 948704396..0813bd431 100644
--- a/src/testing/testing_group.c
+++ b/src/testing/testing_group.c
@@ -2668,8 +2668,10 @@ create_from_file (struct GNUNET_TESTING_PeerGroup *pg, char *filename,
2668 GNUNET_free (data); 2668 GNUNET_free (data);
2669 return connect_attempts; 2669 return connect_attempts;
2670 } 2670 }
2671 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 2671#if DEBUG_TESTING
2672 "Read %u total peers in topology\n", total_peers); 2672 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
2673 "Found %u total peers in topology\n", total_peers);
2674#endif
2673 GNUNET_assert (total_peers == pg->total); 2675 GNUNET_assert (total_peers == pg->total);
2674 curr_state = PEER_INDEX; 2676 curr_state = PEER_INDEX;
2675 while ((buf[count] != '\n') && (count < frstat.st_size - 1)) 2677 while ((buf[count] != '\n') && (count < frstat.st_size - 1))
@@ -6333,7 +6335,7 @@ GNUNET_TESTING_daemon_get (struct GNUNET_TESTING_PeerGroup *pg,
6333 */ 6335 */
6334struct GNUNET_TESTING_Daemon * 6336struct GNUNET_TESTING_Daemon *
6335GNUNET_TESTING_daemon_get_by_id (struct GNUNET_TESTING_PeerGroup *pg, 6337GNUNET_TESTING_daemon_get_by_id (struct GNUNET_TESTING_PeerGroup *pg,
6336 struct GNUNET_PeerIdentity *peer_id) 6338 const struct GNUNET_PeerIdentity *peer_id)
6337{ 6339{
6338 unsigned int i; 6340 unsigned int i;
6339 6341