summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2015-01-28 16:58:54 +0000
committerJulius Bünger <buenger@mytum.de>2015-01-28 16:58:54 +0000
commitfe5beb35e711881e1e8466105584c749a3ed2b69 (patch)
treecf4418a87e211890c20292d2c44269a99dd81469 /src
parent69c256249fc42875aee08b96862b519a5d66fbe2 (diff)
fixed wrong size check
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 e3e2c02c0..760ba47b6 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -711,9 +711,9 @@ resize_wrapper ()
// TODO statistics
if (sampler_size_est_need > sampler_size_client_need)
- bigger_size = sampler_size_client_need;
- else
bigger_size = sampler_size_est_need;
+ else
+ bigger_size = sampler_size_client_need;
// TODO respect the min, max
sampler_size = RPS_sampler_get_size ();