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
/
dbi.c
diff --git
a/src/dbi.c
b/src/dbi.c
index
a61f66b
..
5f8520f
100644
(file)
--- a/
src/dbi.c
+++ b/
src/dbi.c
@@
-258,7
+258,7
@@
static int cdbi_config_add_database_driver_option(cdbi_database_t *db, /* {{{ */
} else {
assert(ci->values[1].type == OCONFIG_TYPE_NUMBER);
option->value.numeric = (int)(ci->values[1].value.number + .5);
- option->is_numeric =
1
;
+ option->is_numeric =
true
;
}
db->driver_options_num++;