gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit 3f7071b9e18b3013d4fe68fb9e9f5530d4174f73
parent e6d6dbc36f0900b6ab51646cd595a1d685cf6297
Author: Matthias Wachs <wachs@net.in.tum.de>
Date:   Wed, 14 May 2014 12:11:35 +0000

fix check


Diffstat:
Msrc/ats/plugin_ats_ril.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/ats/plugin_ats_ril.c b/src/ats/plugin_ats_ril.c @@ -2249,7 +2249,7 @@ libgnunet_plugin_ats_ril_init (void *cls) if (GNUNET_SYSERR != GNUNET_CONFIGURATION_get_value_float (env->cfg, "ats", "RIL_GRADIENT_STEP_SIZE", &f_tmp)) { - if ((f_tmp < 0.0) || (f_tmp > 0.0)) + if ((f_tmp < 0.0) || (f_tmp > 1.0)) { LOG (GNUNET_ERROR_TYPE_ERROR, _("Invalid %s configuration %f \n"), "RIL_GRADIENT_STEP_SIZE", f_tmp); @@ -2266,7 +2266,7 @@ libgnunet_plugin_ats_ril_init (void *cls) if (GNUNET_SYSERR != GNUNET_CONFIGURATION_get_value_float (env->cfg, "ats", "RIL_TRACE_DECAY", &f_tmp)) { - if ((f_tmp < 0.0) || (f_tmp > 0.0)) + if ((f_tmp < 0.0) || (f_tmp > 1.0)) { LOG (GNUNET_ERROR_TYPE_ERROR, _("Invalid %s configuration %f \n"), "RIL_TRACE_DECAY", f_tmp); @@ -2283,7 +2283,7 @@ libgnunet_plugin_ats_ril_init (void *cls) if (GNUNET_SYSERR != GNUNET_CONFIGURATION_get_value_float (env->cfg, "ats", "RIL_EXPLORE_RATIO", &f_tmp)) { - if ((f_tmp < 0.0) || (f_tmp > 0.0)) + if ((f_tmp < 0.0) || (f_tmp > 1.0)) { LOG (GNUNET_ERROR_TYPE_ERROR, _("Invalid %s configuration %f \n"), "RIL_EXPLORE_RATIO", f_tmp);