projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32717ff
)
Use localtime_s on windows
author
akallabeth
<akallabeth@posteo.net>
Mon, 25 May 2020 12:20:23 +0000
(14:20 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Mon, 22 Jun 2020 10:12:35 +0000
(12:12 +0200)
(cherry picked from commit
c3a1ed780cc4aed639e3391d7cafb9edc9dc623c
)
channels/printer/client/win/printer_win.c
patch
|
blob
|
history
diff --git
a/channels/printer/client/win/printer_win.c
b/channels/printer/client/win/printer_win.c
index
83dadba
..
86b5e66
100644
(file)
--- a/
channels/printer/client/win/printer_win.c
+++ b/
channels/printer/client/win/printer_win.c
@@
-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)