projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'collectd-5.8'
[collectd.git]
/
src
/
target_v5upgrade.c
diff --git
a/src/target_v5upgrade.c
b/src/target_v5upgrade.c
index
49f09f0
..
650f9a5
100644
(file)
--- a/
src/target_v5upgrade.c
+++ b/
src/target_v5upgrade.c
@@
-213,15
+213,15
@@
static int v5_mysql_threads(const data_set_t *ds, value_list_t *vl) /* {{{ */
static int v5_zfs_arc_counts(const data_set_t *ds, value_list_t *vl) /* {{{ */
{
value_list_t new_vl;
static int v5_zfs_arc_counts(const data_set_t *ds, value_list_t *vl) /* {{{ */
{
value_list_t new_vl;
-
_B
ool is_hits;
+
b
ool is_hits;
if (vl->values_len != 4)
return FC_TARGET_STOP;
if (strcmp("hits", vl->type_instance) == 0)
if (vl->values_len != 4)
return FC_TARGET_STOP;
if (strcmp("hits", vl->type_instance) == 0)
- is_hits =
1
;
+ is_hits =
true
;
else if (strcmp("misses", vl->type_instance) == 0)
else if (strcmp("misses", vl->type_instance) == 0)
- is_hits =
0
;
+ is_hits =
false
;
else
return FC_TARGET_STOP;
else
return FC_TARGET_STOP;