summaryrefslogtreecommitdiffstats
path: root/src/psearchn.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-01-05 15:06:34 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2014-01-05 15:06:34 +0100
commitc97811941d9338f79b53d3af273938b5d17452dd (patch)
tree526cff26284c95f379794a4c17b918a8d388d66d /src/psearchn.c
parentedecaf2d59cabfe3f6b961a346259069567549b8 (diff)
new prototype for file_finish2()
Diffstat (limited to 'src/psearchn.c')
-rw-r--r--src/psearchn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/psearchn.c b/src/psearchn.c
index 9c9ffa1..581c1a8 100644
--- a/src/psearchn.c
+++ b/src/psearchn.c
@@ -210,7 +210,7 @@ pstatus_t photorec_aux(struct ph_param *params, const struct ph_options *options
{
if(options->verbose > 1)
log_trace("A known header has been found, recovery of the previous file is finished\n");
- file_recovered=file_finish2(&file_recovery, params, options, list_search_space);
+ file_recovered=file_finish2(&file_recovery, params, options->paranoid, list_search_space);
if(options->lowmem > 0)
forget(list_search_space,current_search_space);
}
@@ -330,7 +330,7 @@ pstatus_t photorec_aux(struct ph_param *params, const struct ph_options *options
}
if(res==DC_STOP || res==DC_ERROR)
{
- file_recovered=file_finish2(&file_recovery, params, options, list_search_space);
+ file_recovered=file_finish2(&file_recovery, params, options->paranoid, list_search_space);
if(options->lowmem > 0)
forget(list_search_space,current_search_space);
}
@@ -366,7 +366,7 @@ pstatus_t photorec_aux(struct ph_param *params, const struct ph_options *options
current_search_space, current_search_space->list.prev, current_search_space->list.next);
log_trace("End of media\n");
#endif
- file_recovered=file_finish2(&file_recovery, params, options, list_search_space);
+ file_recovered=file_finish2(&file_recovery, params, options->paranoid, list_search_space);
if(options->lowmem > 0)
forget(list_search_space,current_search_space);
}