summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/file_spf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_spf.c b/src/file_spf.c
index 9da9b6e..4524d8d 100644
--- a/src/file_spf.c
+++ b/src/file_spf.c
@@ -73,12 +73,12 @@ static void file_check_spf(file_recovery_t *file_recovery)
{
unsigned char*buffer;
buffer=(unsigned char*)MALLOC(READ_SIZE);
+ file_recovery->file_size=0;
if(fseek(file_recovery->handle, 0, SEEK_SET)<0)
{
free(buffer);
return;
}
- file_recovery->file_size=0;
while(1)
{
int i;