summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 197a382)
raw | patch | inline | side by side (parent: 197a382)
author | Florian Forster <octo@collectd.org> | |
Tue, 9 Jun 2015 17:21:13 +0000 (18:21 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Tue, 9 Jun 2015 17:21:17 +0000 (18:21 +0100) |
src/daemon/configfile.c | patch | blob | history |
index dde16ca7e476be9aedce056d83df9ba8b290fcf0..244124d079e4a0ad8b196b6f402119e870604fc7 100644 (file)
--- a/src/daemon/configfile.c
+++ b/src/daemon/configfile.c
if (strcasecmp("Globals", child->key) == 0)
cf_util_get_flag (child, &flags, PLUGIN_FLAGS_GLOBAL);
- else if (strcasecmp ("Interval", child->key) == 0) {
- if (cf_util_get_cdtime (child, &ctx.interval) != 0) {
- /* cf_util_get_cdtime will log an error */
- continue;
- }
- }
- else if (strcasecmp ("FlushInterval", child->key) == 0) {
- if (cf_util_get_cdtime (child, &ctx.flush_interval) != 0) {
- /* cf_util_get_cdtime will log an error */
- continue;
- }
- }
- else if (strcasecmp ("FlushTimeout", child->key) == 0) {
- if (cf_util_get_cdtime (child, &ctx.flush_timeout) != 0) {
- /* cf_util_get_cdtime will log an error */
- continue;
- }
- }
+ else if (strcasecmp ("Interval", child->key) == 0)
+ cf_util_get_cdtime (child, &ctx.interval);
+ else if (strcasecmp ("FlushInterval", child->key) == 0)
+ cf_util_get_cdtime (child, &ctx.flush_interval);
+ else if (strcasecmp ("FlushTimeout", child->key) == 0)
+ cf_util_get_cdtime (child, &ctx.flush_timeout);
else {
WARNING("Ignoring unknown LoadPlugin option \"%s\" "
"for plugin \"%s\"",