This commit is contained in:
@@ -1213,10 +1213,11 @@ static int afp_fill_file_info_response(const char *unixname,
|
||||
|
||||
mars_nwe_get_file_info((char *)unixname, &create_date, &create_time,
|
||||
NULL, &fileinfo_flags);
|
||||
if (fileinfo_flags & MARS_NWE_FILEINFO_HAS_CREATE_DATE)
|
||||
if (fileinfo_flags & MARS_NWE_FILEINFO_HAS_CREATE_DATE) {
|
||||
U16_TO_BE16(create_date, response + 20);
|
||||
else
|
||||
} else {
|
||||
un_date_2_nw(stbuff.st_ctime, response + 20, 1);
|
||||
}
|
||||
/* The AFP information record used by this NCP extension has no visible
|
||||
* create-time slot; still persist SetInfo Create Time through nwarchive
|
||||
* so classic NetWare file-info calls can return it. */
|
||||
|
||||
Reference in New Issue
Block a user