aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rps/test_rps_multipeer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rps/test_rps_multipeer.c b/src/rps/test_rps_multipeer.c
index 9367efff2..df897b13d 100644
--- a/src/rps/test_rps_multipeer.c
+++ b/src/rps/test_rps_multipeer.c
@@ -141,7 +141,7 @@ seed_peers (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
141 GNUNET_assert (1 >= portion 141 GNUNET_assert (1 >= portion
142 && 0 < portion); 142 && 0 < portion);
143 143
144 amount = portion * NUM_PEERS; 144 amount = round (portion * NUM_PEERS);
145 145
146 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Seeding peers:\n"); 146 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Seeding peers:\n");
147 for (i = 0 ; i < amount ; i++) 147 for (i = 0 ; i < amount ; i++)