summaryrefslogtreecommitdiffstats
path: root/src/qpsearch.cpp
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/qpsearch.cpp
parentedecaf2d59cabfe3f6b961a346259069567549b8 (diff)
new prototype for file_finish2()
Diffstat (limited to 'src/qpsearch.cpp')
-rw-r--r--src/qpsearch.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qpsearch.cpp b/src/qpsearch.cpp
index 166fdb5..cc88f7d 100644
--- a/src/qpsearch.cpp
+++ b/src/qpsearch.cpp
@@ -206,7 +206,7 @@ pstatus_t QPhotorec::photorec_aux(alloc_data_t *list_search_space)
{
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);
}
@@ -326,7 +326,7 @@ pstatus_t QPhotorec::photorec_aux(alloc_data_t *list_search_space)
}
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);
}
@@ -362,7 +362,7 @@ pstatus_t QPhotorec::photorec_aux(alloc_data_t *list_search_space)
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);
}