Code

collectd-threshold(5): Correct the description of the "Interesting" config option.
[collectd.git] / src / plugin.c
index bbede051bbfaea4972c120b4c3e4f79f5e777fe8..809c140f7e0d1ee8f9047e39d5a7c17eed4cac8a 100644 (file)
@@ -726,6 +726,9 @@ static int plugin_insert_read (read_func_t *rf)
        int status;
        llentry_t *le;
 
+       cdtime_t now = cdtime ();
+       CDTIME_T_TO_TIMESPEC (now, &rf->rf_next_read);
+
        pthread_mutex_lock (&read_lock);
 
        if (read_list == NULL)