projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Various plugins: Use the IS_TRUE and IS_FALSE macros everywhere.
[collectd.git]
/
src
/
libvirt.c
diff --git
a/src/libvirt.c
b/src/libvirt.c
index
6f9e5f1
..
bcbf0e6
100644
(file)
--- a/
src/libvirt.c
+++ b/
src/libvirt.c
@@
-187,9
+187,7
@@
lv_config (const char *key, const char *value)
}
if (strcasecmp (key, "IgnoreSelected") == 0) {
}
if (strcasecmp (key, "IgnoreSelected") == 0) {
- if (strcasecmp (value, "True") == 0 ||
- strcasecmp (value, "Yes") == 0 ||
- strcasecmp (value, "On") == 0)
+ if (IS_TRUE (value))
{
ignorelist_set_invert (il_domains, 0);
ignorelist_set_invert (il_block_devices, 0);
{
ignorelist_set_invert (il_domains, 0);
ignorelist_set_invert (il_block_devices, 0);