diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-27 12:30:52 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-27 12:30:52 +0000 |
commit | 1918912e0de49f876e09dfc0fa3535c909dc5a44 (patch) | |
tree | 053896a6998ec3207f10f6f6cb2666d53650e16a /src/ats/plugin_ats_ril.c | |
parent | 3b912c2e25b4779672cc29b2b10923fcfa993b3c (diff) | |
download | gnunet-1918912e0de49f876e09dfc0fa3535c909dc5a44.tar.gz gnunet-1918912e0de49f876e09dfc0fa3535c909dc5a44.zip |
fix for cfg loading
Diffstat (limited to 'src/ats/plugin_ats_ril.c')
-rw-r--r-- | src/ats/plugin_ats_ril.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ats/plugin_ats_ril.c b/src/ats/plugin_ats_ril.c index 3d4ffae8d..10650a5c4 100644 --- a/src/ats/plugin_ats_ril.c +++ b/src/ats/plugin_ats_ril.c | |||
@@ -2798,7 +2798,7 @@ libgnunet_plugin_ats_ril_init (void *cls) | |||
2798 | if (GNUNET_SYSERR != GNUNET_CONFIGURATION_get_value_float (env->cfg, "ats", | 2798 | if (GNUNET_SYSERR != GNUNET_CONFIGURATION_get_value_float (env->cfg, "ats", |
2799 | "RIL_EXPLORE_DECAY", &f_tmp)) | 2799 | "RIL_EXPLORE_DECAY", &f_tmp)) |
2800 | { | 2800 | { |
2801 | if ((f_tmp < 0.0) || (f_tmp > 0.0)) | 2801 | if ((f_tmp < 0.0) || (f_tmp > 1.0)) |
2802 | { | 2802 | { |
2803 | LOG (GNUNET_ERROR_TYPE_ERROR, _("Invalid %s configuration %f \n"), | 2803 | LOG (GNUNET_ERROR_TYPE_ERROR, _("Invalid %s configuration %f \n"), |
2804 | "RIL_EXPLORE_DECAY", f_tmp); | 2804 | "RIL_EXPLORE_DECAY", f_tmp); |