summaryrefslogtreecommitdiffstats
path: root/src/psearchn.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-10-04 18:18:00 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2014-10-04 18:18:00 +0200
commit3b5e7e0ead6397c58e5347c17101df97bdaa8d93 (patch)
tree2ea932f6cd4a90cfe63286e93b7bd4c18550f588 /src/psearchn.c
parentc28950032981dafb83ec5c568a16e030c4467226 (diff)
PhotoRec: limit to 200 MB when searching the previous unrecovered file
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 95cc1b0..3246a30 100644
--- a/src/psearchn.c
+++ b/src/psearchn.c
@@ -372,7 +372,7 @@ pstatus_t photorec_aux(struct ph_param *params, const struct ph_options *options
{
/* try to recover the previous file, otherwise stay at the current location */
offset_before_back=offset;
- if(back < 10 &&
+ if(back < 5 &&
get_prev_file_header(list_search_space, &current_search_space, &offset)==0)
back++;
else