summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 927bc89)
raw | patch | inline | side by side (parent: 927bc89)
author | Florian Forster <octo@collectd.org> | |
Thu, 18 Jun 2015 07:16:18 +0000 (09:16 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 18 Jun 2015 07:25:34 +0000 (09:25 +0200) |
src/filter_chain.c | patch | blob | history |
diff --git a/src/filter_chain.c b/src/filter_chain.c
index 5ad9655c9a355f53d80865db99de55f0528273ee..c9be097a3db014284859e6abfe846e00b3d5a118 100644 (file)
--- a/src/filter_chain.c
+++ b/src/filter_chain.c
for (i = 0; i < ci->children_num; i++)
{
oconfig_item_t *option = ci->children + i;
- status = 0;
if (strcasecmp ("Match", option->key) == 0)
status = fc_config_add_match (&rule->matches, option);
for (i = 0; i < ci->children_num; i++)
{
oconfig_item_t *option = ci->children + i;
- status = 0;
if (strcasecmp ("Rule", option->key) == 0)
status = fc_config_add_rule (chain, option);