X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Firq.c;h=401cc6f9cb3f13e84e1a5e2fd961238565c6632c;hb=0cc57e3f854e7903d7ec46d8d4b0e46bba4a8739;hp=1aef344f596219aa3287ffabedb118c1685a9e59;hpb=330010ea9cf8dad458dc9245d8284a7dbf62b1a9;p=collectd.git diff --git a/src/irq.c b/src/irq.c index 1aef344f..401cc6f9 100644 --- a/src/irq.c +++ b/src/irq.c @@ -85,9 +85,7 @@ static int irq_config (const char *key, const char *value) } else if (strcasecmp (key, "IgnoreSelected") == 0) { - if ((strcasecmp (value, "True") == 0) - || (strcasecmp (value, "Yes") == 0) - || (strcasecmp (value, "On") == 0)) + if (IS_TRUE (value)) irq_list_action = 1; else irq_list_action = 0;