projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-5.4' into collectd-5.5
[collectd.git]
/
src
/
daemon
/
filter_chain.c
diff --git
a/src/daemon/filter_chain.c
b/src/daemon/filter_chain.c
index
32ce736
..
5042913
100644
(file)
--- a/
src/daemon/filter_chain.c
+++ b/
src/daemon/filter_chain.c
@@
-392,7
+392,6
@@
static int fc_config_add_rule (fc_chain_t *chain, /* {{{ */
for (i = 0; i < ci->children_num; i++)
{
oconfig_item_t *option = ci->children + i;
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);
if (strcasecmp ("Match", option->key) == 0)
status = fc_config_add_match (&rule->matches, option);
@@
-486,7
+485,6
@@
static int fc_config_add_chain (const oconfig_item_t *ci) /* {{{ */
for (i = 0; i < ci->children_num; i++)
{
oconfig_item_t *option = ci->children + i;
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);
if (strcasecmp ("Rule", option->key) == 0)
status = fc_config_add_rule (chain, option);
@@
-766,7
+764,7
@@
static int fc_bit_write_invoke (const data_set_t *ds, /* {{{ */
"the `%s' plugin failed with status %i.",
plugin_list[i].plugin, status);
"the `%s' plugin failed with status %i.",
plugin_list[i].plugin, status);
- plugin_log_available_writers ();
+
plugin_log_available_writers ();
}
else
{
}
else
{