summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fbd00d8)
raw | patch | inline | side by side (parent: fbd00d8)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 10 Jan 2017 20:22:08 +0000 (21:22 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 10 Jan 2017 20:22:08 +0000 (21:22 +0100) |
This properly gets rid of the warning reported in #2108
Thanks to @charliesignalfx for suggesting this and reporting the issue !
Thanks to @charliesignalfx for suggesting this and reporting the issue !
src/daemon/plugin.c | patch | blob | history |
diff --git a/src/daemon/plugin.c b/src/daemon/plugin.c
index 302c777c864e082322e680754d09b3646fee713a..0f067374d05e7148ce79ae32a44d531e5db42ac2 100644 (file)
--- a/src/daemon/plugin.c
+++ b/src/daemon/plugin.c
/* Initialize `vl' */
value_list_t vl = VALUE_LIST_INIT;
sstrncpy(vl.plugin, "collectd", sizeof(vl.plugin));
+ vl.interval = plugin_get_interval();
/* Write queue */
sstrncpy(vl.plugin_instance, "write_queue", sizeof(vl.plugin_instance));