summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c308353)
raw | patch | inline | side by side (parent: c308353)
author | Florian Forster <octo@collectd.org> | |
Thu, 18 Jun 2015 08:27:42 +0000 (10:27 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 18 Jun 2015 08:28:09 +0000 (10:28 +0200) |
src/tail.c | patch | blob | history |
diff --git a/src/tail.c b/src/tail.c
index bcb157255fcd1a30a8048d7977271cb1dc46e027..5b9dc53988c46440c839878253385dd097f8d3ad 100644 (file)
--- a/src/tail.c
+++ b/src/tail.c
cu_tail_match_t *tm;
char *plugin_instance = NULL;
int num_matches = 0;
- int status;
int i;
if ((ci->values_num != 1) || (ci->values[0].type != OCONFIG_TYPE_STRING))
return (-1);
}
- status = 0;
for (i = 0; i < ci->children_num; i++)
{
oconfig_item_t *option = ci->children + i;
+ int status;
if (strcasecmp ("Match", option->key) == 0)
{