diff --git a/src/file_txt.c b/src/file_txt.c index 918b4f41..66077faf 100644 --- a/src/file_txt.c +++ b/src/file_txt.c @@ -697,7 +697,8 @@ static int header_check_mbox(const unsigned char *buffer, const unsigned int buf return 0; } reset_file_recovery(file_recovery_new); - file_recovery_new->data_check=NULL; + file_recovery_new->data_check=&data_check_txt; + file_recovery_new->file_check=&file_check_size; /* Incredimail has .imm extension but this extension isn't frequent */ file_recovery_new->extension="mbox"; return 1; @@ -1153,7 +1154,11 @@ static void register_header_check_fasttxt(file_stat_t *file_stat) register_header_check(0, "