properly initialize afp backup date.

This commit is contained in:
Kelvin Sherlock 2017-01-21 15:05:01 -05:00
parent 4e51bd6c51
commit 06a3c5b5ae
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@ static void afp_init(struct AFP_Info *info, uint16_t file_type, uint32_t aux_typ
memset(info, 0, sizeof(*info));
info->magic = 0x00504641;
info->version = 0x00010000;
info->backup_date = 0x80000000;
info->prodos_file_type = file_type;
info->prodos_aux_type = aux_type;
if (file_type || aux_type)