Commit 055d310e authored by Mark Andrews's avatar Mark Andrews

add L for wide

parent 4615bc54
......@@ -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),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment