projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd62bd6
)
Rewritten condition more clearly.
author
Marc Falzon
<marc@falzon.me>
Tue, 1 Oct 2013 20:20:41 +0000
(22:20 +0200)
committer
Marc Falzon
<marc@falzon.me>
Tue, 1 Oct 2013 20:20:41 +0000
(22:20 +0200)
src/filter_chain.c
patch
|
blob
|
history
diff --git
a/src/filter_chain.c
b/src/filter_chain.c
index
57bcc9b
..
f5606e9
100644
(file)
--- a/
src/filter_chain.c
+++ b/
src/filter_chain.c
@@
-450,7
+450,7
@@
static int fc_config_add_chain (const oconfig_item_t *ci) /* {{{ */
if (chain_list_head != NULL)
{
- if ((chain = fc_chain_get_by_name (ci->values[0].value.string)))
+ if ((chain = fc_chain_get_by_name (ci->values[0].value.string))
!= NULL
)
new_chain = 0;
}