projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use true and false for assignments to bool
[collectd.git]
/
src
/
sensors.c
diff --git
a/src/sensors.c
b/src/sensors.c
index
3969dc9
..
ddd09d9
100644
(file)
--- a/
src/sensors.c
+++ b/
src/sensors.c
@@
-225,7
+225,7
@@
static int sensors_config(const char *key, const char *value) {
}
#if (SENSORS_API_VERSION >= 0x400) && (SENSORS_API_VERSION < 0x500)
else if (strcasecmp(key, "UseLabels") == 0) {
- use_labels = IS_TRUE(value)
? 1 : 0
;
+ use_labels = IS_TRUE(value);
}
#endif
else {