PhotoRec: get .reg file date from header

This commit is contained in:
Christophe Grenier 2013-04-19 07:58:59 +02:00
parent e6f2c37ad0
commit eef1b4b104

View file

@ -110,6 +110,7 @@ static int header_check_reg_nt(const unsigned char *buffer, const unsigned int b
reset_file_recovery(file_recovery_new);
file_recovery_new->min_filesize=0x1000;
file_recovery_new->extension=file_hint_reg.extension;
file_recovery_new->time=td_ntfs2utc(le64(header->modification_time));
return 1;
}