mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-12-01 13:54:25 +08:00
Use localtime_s on windows
This commit is contained in:
parent
a45afe9db7
commit
c3a1ed780c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user