mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Use localtime_s on windows
This commit is contained in:
@@ -85,7 +85,7 @@ static WCHAR* printer_win_get_printjob_name(size_t id)
|
||||
int rc;
|
||||
|
||||
tt = time(NULL);
|
||||
t = localtime_r(&tt, &tres);
|
||||
t = localtime_s(&tt, &tres);
|
||||
|
||||
str = calloc(len, sizeof(WCHAR));
|
||||
if (!str)
|
||||
|
||||
Reference in New Issue
Block a user