diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/testing/testing_group.c | 8 |
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 | */ |
6334 | struct GNUNET_TESTING_Daemon * | 6336 | struct GNUNET_TESTING_Daemon * |
6335 | GNUNET_TESTING_daemon_get_by_id (struct GNUNET_TESTING_PeerGroup *pg, | 6337 | GNUNET_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 | ||