[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r35279 - gnunet/src/rps
From: |
gnunet |
Subject: |
[GNUnet-SVN] r35279 - gnunet/src/rps |
Date: |
Tue, 17 Feb 2015 15:04:56 +0100 |
Author: ch3
Date: 2015-02-17 15:04:56 +0100 (Tue, 17 Feb 2015)
New Revision: 35279
Modified:
gnunet/src/rps/test_rps_multipeer.c
Log:
- fixed rounding
Modified: gnunet/src/rps/test_rps_multipeer.c
===================================================================
--- gnunet/src/rps/test_rps_multipeer.c 2015-02-17 14:04:50 UTC (rev 35278)
+++ gnunet/src/rps/test_rps_multipeer.c 2015-02-17 14:04:56 UTC (rev 35279)
@@ -141,7 +141,7 @@
GNUNET_assert (1 >= portion
&& 0 < portion);
- amount = portion * NUM_PEERS;
+ amount = round (portion * NUM_PEERS);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Seeding peers:\n");
for (i = 0 ; i < amount ; i++)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r35279 - gnunet/src/rps,
gnunet <=