aboutsummaryrefslogtreecommitdiff
path: root/src/rps/test_rps.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rps/test_rps.c')
-rw-r--r--src/rps/test_rps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rps/test_rps.c b/src/rps/test_rps.c
index 126cc5dec..26066bf10 100644
--- a/src/rps/test_rps.c
+++ b/src/rps/test_rps.c
@@ -1357,7 +1357,7 @@ static void mal_init_peer (struct RPSPeer *rps_peer)
1357static void 1357static void
1358mal_pre (struct RPSPeer *rps_peer, struct GNUNET_RPS_Handle *h) 1358mal_pre (struct RPSPeer *rps_peer, struct GNUNET_RPS_Handle *h)
1359{ 1359{
1360 #ifdef ENABLE_MALICIOUS 1360 #if ENABLE_MALICIOUS
1361 uint32_t num_mal_peers; 1361 uint32_t num_mal_peers;
1362 1362
1363 GNUNET_assert ( (1 >= portion) && 1363 GNUNET_assert ( (1 >= portion) &&
@@ -1388,7 +1388,7 @@ mal_cb (struct RPSPeer *rps_peer)
1388 return; 1388 return;
1389 } 1389 }
1390 1390
1391 #ifdef ENABLE_MALICIOUS 1391 #if ENABLE_MALICIOUS
1392 GNUNET_assert ( (1 >= portion) && 1392 GNUNET_assert ( (1 >= portion) &&
1393 (0 < portion) ); 1393 (0 < portion) );
1394 num_mal_peers = round (portion * num_peers); 1394 num_mal_peers = round (portion * num_peers);