projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set static bools to true instead of 1
[collectd.git]
/
src
/
interface.c
diff --git
a/src/interface.c
b/src/interface.c
index
64764d5
..
39ca880
100644
(file)
--- a/
src/interface.c
+++ b/
src/interface.c
@@
-88,7
+88,7
@@
static int config_keys_num = STATIC_ARRAY_SIZE(config_keys);
static ignorelist_t *ignorelist = NULL;
static ignorelist_t *ignorelist = NULL;
-static bool report_inactive =
1
;
+static bool report_inactive =
true
;
#ifdef HAVE_LIBKSTAT
#if HAVE_KSTAT_H
#ifdef HAVE_LIBKSTAT
#if HAVE_KSTAT_H
@@
-98,7
+98,7
@@
static bool report_inactive = 1;
extern kstat_ctl_t *kc;
static kstat_t *ksp[MAX_NUMIF];
static int numif = 0;
extern kstat_ctl_t *kc;
static kstat_t *ksp[MAX_NUMIF];
static int numif = 0;
-static bool unique_name
= 0
;
+static bool unique_name;
#endif /* HAVE_LIBKSTAT */
static int interface_config(const char *key, const char *value) {
#endif /* HAVE_LIBKSTAT */
static int interface_config(const char *key, const char *value) {