summaryrefslogtreecommitdiffstats
path: root/src/psearchn.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2016-09-19 20:16:55 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2016-09-19 20:16:55 +0200
commit8a37700513c6e8d380365b8581ce005932dbb857 (patch)
tree744340ee813ee763ae333815ae6b2febab92b005 /src/psearchn.c
parent8238ff4db4c5cd12f4d088eef979b310dda8008d (diff)
Modify get_prev_location_smart() to always use offset_skipped_header if available
Diffstat (limited to 'src/psearchn.c')
-rw-r--r--src/psearchn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/psearchn.c b/src/psearchn.c
index dfafe3f..52805bb 100644
--- a/src/psearchn.c
+++ b/src/psearchn.c
@@ -381,7 +381,7 @@ pstatus_t photorec_aux(struct ph_param *params, const struct ph_options *options
#endif
file_recovered=file_finish2(&file_recovery, params, options->paranoid, list_search_space);
if(file_recovered!=PFSTATUS_BAD)
- get_prev_location(list_search_space, &current_search_space, &offset, file_recovery.location.start);
+ get_prev_location_smart(list_search_space, &current_search_space, &offset, file_recovery.location.start);
if(options->lowmem > 0)
forget(list_search_space,current_search_space);
}