summaryrefslogtreecommitdiffstats
path: root/src/file_imb.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-05-30 18:05:53 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-05-30 18:05:53 +0200
commit300ca7a483dd54e0e9518d4953e83f57c992f57d (patch)
tree3d2e346faa74fddac56a34f003ab6a77e38c7106 /src/file_imb.c
parentbed68d069a0290f42cbf500d8190e5b9ce0d6c5a (diff)
PhotoRec: Incredimail recovery wasn't working, fix it
Diffstat (limited to 'src/file_imb.c')
-rw-r--r--src/file_imb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file_imb.c b/src/file_imb.c
index 8d1951a..5e330b7 100644
--- a/src/file_imb.c
+++ b/src/file_imb.c
@@ -2,7 +2,7 @@
File: file_imb.c
- Copyright (C) 2006-2007 Christophe GRENIER <grenier@cgsecurity.org>
+ Copyright (C) 2006-2008 Christophe GRENIER <grenier@cgsecurity.org>
This software is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -48,7 +48,7 @@ static const unsigned char imb_header[15]= { 0x00, 0x00, 0x00, 'I','n','c','r','
static void register_header_check_imb(file_stat_t *file_stat)
{
- register_header_check(0, imb_header,sizeof(imb_header), &header_check_imb, file_stat);
+ register_header_check(1, imb_header,sizeof(imb_header), &header_check_imb, file_stat);
}
static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)