aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_testing_topology_churn.c
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-09-01 13:21:03 +0000
committerNathan S. Evans <evans@in.tum.de>2010-09-01 13:21:03 +0000
commit930871b49ea5ba14a92c6c0ed8e3ecc648da0b22 (patch)
tree280392bf53902b59073055c066fe1ebd69b43c7c /src/testing/test_testing_topology_churn.c
parent05186db103486d199c2dc9357264a265e9c33117 (diff)
downloadgnunet-930871b49ea5ba14a92c6c0ed8e3ecc648da0b22.tar.gz
gnunet-930871b49ea5ba14a92c6c0ed8e3ecc648da0b22.zip
klocwork fixes
Diffstat (limited to 'src/testing/test_testing_topology_churn.c')
-rw-r--r--src/testing/test_testing_topology_churn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testing/test_testing_topology_churn.c b/src/testing/test_testing_topology_churn.c
index 880b0fefc..a4b80e4a4 100644
--- a/src/testing/test_testing_topology_churn.c
+++ b/src/testing/test_testing_topology_churn.c
@@ -266,6 +266,7 @@ run (void *cls,
266 main_cfg = cfg; 266 main_cfg = cfg;
267 267
268 peers_left = num_peers; 268 peers_left = num_peers;
269 GNUNET_assert(num_peers > 0 && num_peers < (unsigned int)-1);
269 270
270 /* For this specific test we only really want a CLIQUE topology as the 271 /* For this specific test we only really want a CLIQUE topology as the
271 * overlay allowed topology, and a RING topology as the underlying connection 272 * overlay allowed topology, and a RING topology as the underlying connection