diff options
Diffstat (limited to 'src/sensor')
-rw-r--r-- | src/sensor/gnunet-service-sensor_monitoring.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sensor/gnunet-service-sensor_monitoring.c b/src/sensor/gnunet-service-sensor_monitoring.c index f473c3a75..08c0bd62a 100644 --- a/src/sensor/gnunet-service-sensor_monitoring.c +++ b/src/sensor/gnunet-service-sensor_monitoring.c | |||
@@ -335,6 +335,8 @@ sensor_run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
335 | &end_sensor_run_stat, | 335 | &end_sensor_run_stat, |
336 | &sensor_statistics_iterator, | 336 | &sensor_statistics_iterator, |
337 | sensorinfo); | 337 | sensorinfo); |
338 | if (NULL == sensorinfo->gnunet_stat_get_handle) | ||
339 | sensorinfo->running = GNUNET_NO; | ||
338 | } | 340 | } |
339 | else if (0 == strcmp ("process", sensorinfo->source)) | 341 | else if (0 == strcmp ("process", sensorinfo->source)) |
340 | { | 342 | { |