From: Omar Tarabai Date: Fri, 4 Jul 2014 15:31:41 +0000 (+0000) Subject: sensor lifetime defaults to forever X-Git-Tag: initial-import-from-subversion-38251~3502 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0f7d012e7bf80616ecd0beffb96f2ca65782e695;p=oweals%2Fgnunet.git sensor lifetime defaults to forever --- diff --git a/src/sensor/sensor_util_lib.c b/src/sensor/sensor_util_lib.c index 9e36f7ebe..40cdfef30 100644 --- a/src/sensor/sensor_util_lib.c +++ b/src/sensor/sensor_util_lib.c @@ -172,7 +172,7 @@ load_sensor_from_cfg(struct GNUNET_CONFIGURATION_Handle *cfg, const char *sectio sensor->name); } else - sensor->lifetime = sensor->interval; + sensor->lifetime = GNUNET_TIME_UNIT_FOREVER_REL; //capabilities TODO //source if(GNUNET_OK != GNUNET_CONFIGURATION_get_value_choice(cfg, sectionname, "SOURCE", sources, (const char **)&sensor->source))