summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 84489e6)
raw | patch | inline | side by side (parent: 84489e6)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 29 Mar 2009 12:35:53 +0000 (14:35 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 29 Mar 2009 12:35:53 +0000 (14:35 +0200) |
src/plugin.c | patch | blob | history |
diff --git a/src/plugin.c b/src/plugin.c
index 7a89508c217d86c31e5a33b635581d11a4654595..31031d07c257869431efd2ce3bbc75729c38a904 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
if (vl->time == 0)
vl->time = time (NULL);
+ if (vl->interval <= 0)
+ vl->interval = interval_g;
+
DEBUG ("plugin_dispatch_values: time = %u; interval = %i; "
"host = %s; "
"plugin = %s; plugin_instance = %s; "