summaryrefslogtreecommitdiffstats
path: root/src/filegen.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-06-27 08:57:51 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2012-06-27 08:57:51 +0200
commit272f91122102ff21c87214b2f896eb86152b2c9f (patch)
tree7cfd8e8fa1ad91a818c6b55d3d981885d9ad2f54 /src/filegen.c
parentd13ed4ece6c132ce077bc70c9158566f5156bbb3 (diff)
filegen.c: make some variables more local
Diffstat (limited to 'src/filegen.c')
-rw-r--r--src/filegen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filegen.c b/src/filegen.c
index 26501bc..dbbaae8 100644
--- a/src/filegen.c
+++ b/src/filegen.c
@@ -140,11 +140,11 @@ void free_header_check(void)
td_list_for_each_safe(tmpl, nextl, &file_check_list.list)
{
unsigned int i;
- struct td_list_head *tmp;
- struct td_list_head *next;
file_check_list_t *pos=td_list_entry(tmpl, file_check_list_t, list);
for(i=0;i<256;i++)
{
+ struct td_list_head *tmp;
+ struct td_list_head *next;
td_list_for_each_safe(tmp, next, &pos->file_checks[i].list)
{
#ifdef DEBUG_HEADER_CHECK