summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cd62bd6)
raw | patch | inline | side by side (parent: cd62bd6)
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 57bcc9bcba5dc865c5d9bafd82892a6f4a7b7ed6..f5606e90145af0d166af3678794fdfec6091394b 100644 (file)
--- a/src/filter_chain.c
+++ b/src/filter_chain.c
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;
}