X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Finterface.c;h=40609658ce82541ebeec898d2303b2501aa23e99;hb=a396da422740caf336a6d594515e8d80de6f440a;hp=39ca880363aa96b2c888e25e53c49bc23cbad93a;hpb=4e89060ceb1a14ec7f9abfe9caa6b0da7e76bd5c;p=collectd.git diff --git a/src/interface.c b/src/interface.c index 39ca8803..40609658 100644 --- a/src/interface.c +++ b/src/interface.c @@ -86,7 +86,7 @@ static const char *config_keys[] = { }; static int config_keys_num = STATIC_ARRAY_SIZE(config_keys); -static ignorelist_t *ignorelist = NULL; +static ignorelist_t *ignorelist; static bool report_inactive = true; @@ -117,7 +117,7 @@ static int interface_config(const char *key, const char *value) { else if (strcasecmp(key, "UniqueName") == 0) { #ifdef HAVE_LIBKSTAT if (IS_TRUE(value)) - unique_name = 1; + unique_name = true; #else WARNING("interface plugin: the \"UniqueName\" option is only valid on " "Solaris.");