mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 17:32:04 -04:00
add L for wide
This commit is contained in:
parent
4615bc5408
commit
055d310e54
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ received(int bytes, isc_sockaddr_t *from, dig_query_t *query) {
|
|||
* wide-character string, which strftime() handles incorrectly.
|
||||
*/
|
||||
if (wcsftime(time_str, sizeof(time_str)/sizeof(time_str[0]),
|
||||
"%a %b %d %H:%M:%S %Z %Y", &tmnow) > 0U)
|
||||
L"%a %b %d %H:%M:%S %Z %Y", &tmnow) > 0U)
|
||||
printf(";; WHEN: %ls\n", time_str);
|
||||
#else
|
||||
if (strftime(time_str, sizeof(time_str),
|
||||
|
|
|
|||
Loading…
Reference in a new issue