- if (strcasecmp ("Regex", option->key) == 0)
- status = cf_util_get_string (option, &cm.regex);
- else if (strcasecmp ("ExcludeRegex", option->key) == 0)
- status = cf_util_get_string (option, &cm.excluderegex);
- else if (strcasecmp ("DSType", option->key) == 0)
- status = ctail_config_add_match_dstype (&cm, option);
- else if (strcasecmp ("Type", option->key) == 0)
- status = cf_util_get_string (option, &cm.type);
- else if (strcasecmp ("Instance", option->key) == 0)
- status = cf_util_get_string (option, &cm.type_instance);
- else
- {
- WARNING ("tail plugin: Option `%s' not allowed here.", option->key);
+ if (strcasecmp("Regex", option->key) == 0)
+ status = cf_util_get_string(option, &cm.regex);
+ else if (strcasecmp("ExcludeRegex", option->key) == 0)
+ status = cf_util_get_string(option, &cm.excluderegex);
+ else if (strcasecmp("DSType", option->key) == 0)
+ status = ctail_config_add_match_dstype(&cm, option);
+ else if (strcasecmp("Type", option->key) == 0)
+ status = cf_util_get_string(option, &cm.type);
+ else if (strcasecmp("Instance", option->key) == 0)
+ status = cf_util_get_string(option, &cm.type_instance);
+ else {
+ WARNING("tail plugin: Option `%s' not allowed here.", option->key);