From: Florian Forster Date: Fri, 25 Dec 2009 10:11:49 +0000 (+0100) Subject: filecount plugin: Fix bitfield and default behavior. X-Git-Tag: collectd-4.10.0~82 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=5b1f0319aec6b6bfe3f710badfd449dcdeecb82d filecount plugin: Fix bitfield and default behavior. --- diff --git a/src/filecount.c b/src/filecount.c index b9dcad86..dc242ada 100644 --- a/src/filecount.c +++ b/src/filecount.c @@ -32,7 +32,7 @@ #include #define FC_RECURSIVE 1 -#define FC_HIDDEN 1 +#define FC_HIDDEN 2 struct fc_directory_conf_s { @@ -381,7 +381,6 @@ static int fc_config_add_dir (oconfig_item_t *ci) fc_config_set_instance (dir, dir->path); dir->options = FC_RECURSIVE; - dir->options = FC_HIDDEN; dir->name = NULL; dir->mtime = 0;