projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
75f7d32
)
Merge branch 'master' of /var/lib/git/collectd
author
Florian Forster
<octo@huhu.verplant.org>
Mon, 25 Aug 2008 18:47:39 +0000
(20:47 +0200)
committer
Florian Forster
<octo@huhu.verplant.org>
Mon, 25 Aug 2008 18:47:39 +0000
(20:47 +0200)
src/filecount.c
patch
|
blob
|
history
diff --git
a/src/filecount.c
b/src/filecount.c
index
3d08cbe
..
2f10912
100644
(file)
--- a/
src/filecount.c
+++ b/
src/filecount.c
@@
-342,10
+342,10
@@
static int fc_config_add_dir (oconfig_item_t *ci)
dir->mtime = 0;
dir->size = 0;
+ status = 0;
for (i = 0; i < ci->children_num; i++)
{
oconfig_item_t *option = ci->children + i;
- status = 0;
if (strcasecmp ("Instance", option->key) == 0)
status = fc_config_add_dir_instance (dir, option);