summaryrefslogtreecommitdiffstats
path: root/src/phbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/phbs.c')
-rw-r--r--src/phbs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/phbs.c b/src/phbs.c
index 08fe253..7b5d32d 100644
--- a/src/phbs.c
+++ b/src/phbs.c
@@ -100,6 +100,8 @@ int photorec_find_blocksize(struct ph_param *params, const struct ph_options *op
const unsigned int read_size=(blocksize>65536?blocksize:65536);
alloc_data_t *current_search_space;
file_recovery_t file_recovery;
+
+ params->file_nbr=0;
reset_file_recovery(&file_recovery);
file_recovery.blocksize=blocksize;
buffer_size=blocksize + READ_SIZE;