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\"",