/*
This file is part of GNUnet.
- (C)
+ Copyright (C)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
&end_sensor_run_stat,
&sensor_statistics_iterator,
sensorinfo);
+ if (NULL == sensorinfo->gnunet_stat_get_handle)
+ sensorinfo->running = GNUNET_NO;
}
else if (0 == strcmp ("process", sensorinfo->source))
{
LOG (GNUNET_ERROR_TYPE_DEBUG,
"Scheduling sensor `%s' to run after %" PRIu64 " microseconds\n",
sensorinfo->name, sensorinfo->interval.rel_value_us);
- if (GNUNET_SCHEDULER_NO_TASK != sensorinfo->execution_task)
+ if (NULL != sensorinfo->execution_task)
{
LOG (GNUNET_ERROR_TYPE_ERROR,
_("Sensor `%s' execution task already set, this should not happen\n"),