summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a6887a)
raw | patch | inline | side by side (parent: 7a6887a)
author | Florian Forster <octo@collectd.org> | |
Sun, 3 Feb 2013 22:04:17 +0000 (23:04 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 3 Feb 2013 22:04:17 +0000 (23:04 +0100) |
Fixes Github issue #230.
src/plugin.c | patch | blob | history |
diff --git a/src/plugin.c b/src/plugin.c
index cdd56bd79dd8f2f4d0c6374c7d33fe5ebbe224d7..d895891579033323f1d6e61d29ba6b2b256623c3 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
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)