summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-09-22 12:12:44 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2012-09-22 12:12:44 +0200
commit63adf1683819c22d19f71d625bbd0a292f89efa0 (patch)
tree051e8c2e785899d5ff287c614e947aa03fa03c1a
parent288772b5f67c5b5327f5f4f82a08f02d8e6d31a2 (diff)
update two source code comments
-rw-r--r--src/dir.h2
-rw-r--r--src/filegen.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/dir.h b/src/dir.h
index 8e55672..7a1598c 100644
--- a/src/dir.h
+++ b/src/dir.h
@@ -57,7 +57,7 @@ struct dir_data
#define FILE_STATUS_DELETED 1
#define FILE_STATUS_MARKED 2
-/* TODO: add status to file_info and migrate file_data to file_info */
+/* TODO: migrate file_data to file_info */
struct file_data
{
file_data_t *prev;
diff --git a/src/filegen.c b/src/filegen.c
index dbbaae8..2d805ed 100644
--- a/src/filegen.c
+++ b/src/filegen.c
@@ -122,6 +122,7 @@ static unsigned int index_header_check(void)
struct td_list_head *tmp;
struct td_list_head *next;
unsigned int nbr=0;
+ /* Initialize file_check_list from file_check_plist */
td_list_for_each_prev_safe(tmp, next, &file_check_plist.list)
{
file_check_t *current_check;