aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-03-21 18:44:40 +0000
committerBart Polot <bart@net.in.tum.de>2014-03-21 18:44:40 +0000
commitc841b8b3e9c1ed86c612e0e600e3200d86ae018f (patch)
tree015371946f1d78bc384f3ad21c8b836da48aef29 /src/mesh
parent39319f02e2952aa5dca8225f4e7229bec55ba84c (diff)
downloadgnunet-c841b8b3e9c1ed86c612e0e600e3200d86ae018f.tar.gz
gnunet-c841b8b3e9c1ed86c612e0e600e3200d86ae018f.zip
- not abort condition
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/gnunet-mesh-profiler.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesh/gnunet-mesh-profiler.c b/src/mesh/gnunet-mesh-profiler.c
index 049e32bcb..8bec791a8 100644
--- a/src/mesh/gnunet-mesh-profiler.c
+++ b/src/mesh/gnunet-mesh-profiler.c
@@ -913,7 +913,13 @@ tmain (void *cls,
913 913
914 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test main\n"); 914 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test main\n");
915 test_ctx = ctx; 915 test_ctx = ctx;
916 GNUNET_assert (peers_total > 2 * PING_PEERS); 916 if (peers_total < 2 * PING_PEERS)
917 {
918 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
919 "not enough peers, total should be > 2 * PING_PEERS\n");
920 GNUNET_MESH_TEST_cleanup (ctx);
921 return;
922 }
917 GNUNET_assert (peers_total == num_peers); 923 GNUNET_assert (peers_total == num_peers);
918 peers_running = num_peers; 924 peers_running = num_peers;
919 testbed_handles = testbed_peers; 925 testbed_handles = testbed_peers;