summaryrefslogtreecommitdiffstats
path: root/src/file_ext2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_ext2.c')
-rw-r--r--src/file_ext2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file_ext2.c b/src/file_ext2.c
index 4c77219..7bc31a9 100644
--- a/src/file_ext2.c
+++ b/src/file_ext2.c
@@ -63,8 +63,8 @@ static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int
file_recovery->file_stat->file_hint==&file_hint_ext2_fs &&
file_recovery->calculated_file_size==(uint64_t)le32(sb->s_blocks_count)*(EXT2_MIN_BLOCK_SIZE<<le32(sb->s_log_block_size)))
{
- header_ignored(file_recovery_new);
- return 0;
+ if(header_ignored_adv(file_recovery, file_recovery_new)==0)
+ return 0;
}
reset_file_recovery(file_recovery_new);
file_recovery_new->extension=file_hint_ext2_fs.extension;