aboutsummaryrefslogtreecommitdiff
path: root/src/ats
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-05-14 12:11:35 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-05-14 12:11:35 +0000
commit3f7071b9e18b3013d4fe68fb9e9f5530d4174f73 (patch)
treee34d4301fdc1288b68bba8b625a7052205fa392a /src/ats
parente6d6dbc36f0900b6ab51646cd595a1d685cf6297 (diff)
downloadgnunet-3f7071b9e18b3013d4fe68fb9e9f5530d4174f73.tar.gz
gnunet-3f7071b9e18b3013d4fe68fb9e9f5530d4174f73.zip
fix check
Diffstat (limited to 'src/ats')
-rw-r--r--src/ats/plugin_ats_ril.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ats/plugin_ats_ril.c b/src/ats/plugin_ats_ril.c
index 30c679cf3..fef969a89 100644
--- 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)
2249 if (GNUNET_SYSERR != GNUNET_CONFIGURATION_get_value_float (env->cfg, "ats", 2249 if (GNUNET_SYSERR != GNUNET_CONFIGURATION_get_value_float (env->cfg, "ats",
2250 "RIL_GRADIENT_STEP_SIZE", &f_tmp)) 2250 "RIL_GRADIENT_STEP_SIZE", &f_tmp))
2251 { 2251 {
2252 if ((f_tmp < 0.0) || (f_tmp > 0.0)) 2252 if ((f_tmp < 0.0) || (f_tmp > 1.0))
2253 { 2253 {
2254 LOG (GNUNET_ERROR_TYPE_ERROR, _("Invalid %s configuration %f \n"), 2254 LOG (GNUNET_ERROR_TYPE_ERROR, _("Invalid %s configuration %f \n"),
2255 "RIL_GRADIENT_STEP_SIZE", f_tmp); 2255 "RIL_GRADIENT_STEP_SIZE", f_tmp);
@@ -2266,7 +2266,7 @@ libgnunet_plugin_ats_ril_init (void *cls)
2266 if (GNUNET_SYSERR != GNUNET_CONFIGURATION_get_value_float (env->cfg, "ats", 2266 if (GNUNET_SYSERR != GNUNET_CONFIGURATION_get_value_float (env->cfg, "ats",
2267 "RIL_TRACE_DECAY", &f_tmp)) 2267 "RIL_TRACE_DECAY", &f_tmp))
2268 { 2268 {
2269 if ((f_tmp < 0.0) || (f_tmp > 0.0)) 2269 if ((f_tmp < 0.0) || (f_tmp > 1.0))
2270 { 2270 {
2271 LOG (GNUNET_ERROR_TYPE_ERROR, _("Invalid %s configuration %f \n"), 2271 LOG (GNUNET_ERROR_TYPE_ERROR, _("Invalid %s configuration %f \n"),
2272 "RIL_TRACE_DECAY", f_tmp); 2272 "RIL_TRACE_DECAY", f_tmp);
@@ -2283,7 +2283,7 @@ libgnunet_plugin_ats_ril_init (void *cls)
2283 if (GNUNET_SYSERR != GNUNET_CONFIGURATION_get_value_float (env->cfg, "ats", 2283 if (GNUNET_SYSERR != GNUNET_CONFIGURATION_get_value_float (env->cfg, "ats",
2284 "RIL_EXPLORE_RATIO", &f_tmp)) 2284 "RIL_EXPLORE_RATIO", &f_tmp))
2285 { 2285 {
2286 if ((f_tmp < 0.0) || (f_tmp > 0.0)) 2286 if ((f_tmp < 0.0) || (f_tmp > 1.0))
2287 { 2287 {
2288 LOG (GNUNET_ERROR_TYPE_ERROR, _("Invalid %s configuration %f \n"), 2288 LOG (GNUNET_ERROR_TYPE_ERROR, _("Invalid %s configuration %f \n"),
2289 "RIL_EXPLORE_RATIO", f_tmp); 2289 "RIL_EXPLORE_RATIO", f_tmp);