projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bindings/erlang: Added README.
[collectd.git]
/
src
/
protocols.c
diff --git
a/src/protocols.c
b/src/protocols.c
index
75e9a1c
..
73fe154
100644
(file)
--- a/
src/protocols.c
+++ b/
src/protocols.c
@@
-224,9
+224,7
@@
static int protocols_config (const char *key, const char *value)
else if (strcasecmp (key, "IgnoreSelected") == 0)
{
int invert = 1;
else if (strcasecmp (key, "IgnoreSelected") == 0)
{
int invert = 1;
- if ((strcasecmp (value, "True") == 0)
- || (strcasecmp (value, "Yes") == 0)
- || (strcasecmp (value, "On") == 0))
+ if (IS_TRUE (value))
invert = 0;
ignorelist_set_invert (values_list, invert);
}
invert = 0;
ignorelist_set_invert (values_list, invert);
}