summaryrefslogtreecommitdiffstats
path: root/src/filegen.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2010-04-27 08:39:24 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2010-04-27 08:39:24 +0200
commitc1afbdf78024f1590b7805244ddc40ba16297379 (patch)
treee2f5a9d72e1a59569cfcb21342c5cfaa4419086a /src/filegen.c
parent8ee9f770fa81752c44b9bfc38e04ab88eafeec4a (diff)
PhotoRec: modify internals for brute-force recovery
Diffstat (limited to 'src/filegen.c')
-rw-r--r--src/filegen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/filegen.c b/src/filegen.c
index bdd7e10..d90da73 100644
--- a/src/filegen.c
+++ b/src/filegen.c
@@ -309,6 +309,11 @@ void reset_file_recovery(file_recovery_t *file_recovery)
file_recovery->file_rename=NULL;
file_recovery->offset_error=0;
file_recovery->offset_ok=0;
+ file_recovery->checkpoint_status=0;
+ file_recovery->checkpoint_offset=0;
+// file_recovery->blocksize=512;
+ file_recovery->flags=0;
+ file_recovery->extra=0;
}
file_stat_t * init_file_stats(file_enable_t *files_enable)