summaryrefslogtreecommitdiffstats
path: root/src/file_caf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-07-23 08:57:12 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2014-07-23 08:57:12 +0200
commit1a13c103323594cc0e25c9c53c551a082a7b9270 (patch)
treec4141afc694e6936175001ada7e1f8375fbb797a /src/file_caf.c
parentc3e0bcc637a9356ef7f61c47cbaf2efd6d2eab32 (diff)
PhotoRec: Fix commit 840b9f74e2eecb2a608c8020cb30bb802c00e9b8 for .caf recovery
Diffstat (limited to 'src/file_caf.c')
-rw-r--r--src/file_caf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/file_caf.c b/src/file_caf.c
index 23ec910..e36b984 100644
--- a/src/file_caf.c
+++ b/src/file_caf.c
@@ -105,7 +105,8 @@ static int header_check_caf(const unsigned char *buffer, const unsigned int buff
file_recovery_new->extension=file_hint_caf.extension;
file_recovery_new->data_check=&data_check_caf;
file_recovery_new->file_check=&file_check_size;
- file_recovery_new->calculated_file_size=8+12;
+ file_recovery_new->calculated_file_size=8;
+ file_recovery_new->min_filesize=8+12;
return 1;
}