gmtime_s(), used on Windows, returns an errno_t not a struct tm *. The previous code caused strftime() to dereference a NULL struct tm *.
5.6 KiB
5.6 KiB
gmtime_s(), used on Windows, returns an errno_t not a struct tm *. The previous code caused strftime() to dereference a NULL struct tm *.