diff options
Diffstat (limited to 'src/rps/gnunet-rps-profiler.c')
-rw-r--r-- | src/rps/gnunet-rps-profiler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c index 36a167203..937a4363b 100644 --- a/src/rps/gnunet-rps-profiler.c +++ b/src/rps/gnunet-rps-profiler.c | |||
@@ -1574,7 +1574,7 @@ static void mal_init_peer (struct RPSPeer *rps_peer) | |||
1574 | static void | 1574 | static void |
1575 | mal_pre (struct RPSPeer *rps_peer, struct GNUNET_RPS_Handle *h) | 1575 | mal_pre (struct RPSPeer *rps_peer, struct GNUNET_RPS_Handle *h) |
1576 | { | 1576 | { |
1577 | #ifdef ENABLE_MALICIOUS | 1577 | #if ENABLE_MALICIOUS |
1578 | uint32_t num_mal_peers; | 1578 | uint32_t num_mal_peers; |
1579 | 1579 | ||
1580 | GNUNET_assert ( (1 >= portion) && | 1580 | GNUNET_assert ( (1 >= portion) && |
@@ -1605,7 +1605,7 @@ mal_cb (struct RPSPeer *rps_peer) | |||
1605 | return; | 1605 | return; |
1606 | } | 1606 | } |
1607 | 1607 | ||
1608 | #ifdef ENABLE_MALICIOUS | 1608 | #if ENABLE_MALICIOUS |
1609 | GNUNET_assert ( (1 >= portion) && | 1609 | GNUNET_assert ( (1 >= portion) && |
1610 | (0 < portion) ); | 1610 | (0 < portion) ); |
1611 | num_mal_peers = round (portion * num_peers); | 1611 | num_mal_peers = round (portion * num_peers); |