summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2015-01-28 23:11:30 +0000
committerJulius Bünger <buenger@mytum.de>2015-01-28 23:11:30 +0000
commit23e2daa6a95a4f924cac219e859523fd7e3a0919 (patch)
tree5f99b502931372dcfb757ad152279636a5380024 /src
parent4ee6e164f0d1d3a99cdc94f49a039fd53e76d8f1 (diff)
- trying to fix issue of not sending push/pulls to peers
Diffstat (limited to 'src')
-rw-r--r--src/rps/gnunet-service-rps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 2162de866..3ba80a679 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -1206,8 +1206,8 @@ do_round (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
uint32_t first_border;
uint32_t second_border;
- first_border = round (alpha * sampler_size_est_need);
- second_border = first_border + round (beta * sampler_size_est_need);
+ first_border = ceil (alpha * sampler_size_est_need);
+ second_border = first_border + ceil (beta * sampler_size_est_need);
GNUNET_array_grow (gossip_list, gossip_list_size, second_border);