From 34504f13810d85fe78d81bd3f70b751a055acec6 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sat, 30 May 2026 19:33:57 +0200 Subject: [PATCH] Fix Compile --- src/nwconn.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/nwconn.c b/src/nwconn.c index 66ebc76..7594801 100644 --- a/src/nwconn.c +++ b/src/nwconn.c @@ -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. */