summaryrefslogtreecommitdiffstats
path: root/src/file_zip.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2015-12-03 13:28:34 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2015-12-03 13:28:34 +0100
commit253ff50b44dc10d23aadcb8e169e29c16ef50c3c (patch)
tree60493e5144052bfb240f3463ff68e58cd79828e8 /src/file_zip.c
parent636fcb513db03d9b9276979b97324a5e6622b80d (diff)
PhotoRec: recover Revit .rvt files
Diffstat (limited to 'src/file_zip.c')
-rw-r--r--src/file_zip.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/file_zip.c b/src/file_zip.c
index 40c0415..817ac89 100644
--- a/src/file_zip.c
+++ b/src/file_zip.c
@@ -776,10 +776,7 @@ static int header_check_zip(const unsigned char *buffer, const unsigned int buff
log_trace("header_check_zip\n");
#endif
if(file_recovery->file_stat!=NULL &&
- file_recovery->file_stat->file_hint==&file_hint_doc &&
- (strcmp(file_recovery->extension,"doc")==0 ||
- strcmp(file_recovery->extension,"psmodel")==0)
- && memcmp(&buffer[30], "macrolog_1.mac", 14)==0)
+ file_recovery->file_stat->file_hint==&file_hint_doc)
{
header_ignored(file_recovery_new);
return 0;