aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libhttpd/hio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libhttpd/hio.c b/src/libhttpd/hio.c
index b5339ede..b404cf4c 100644
--- a/src/libhttpd/hio.c
+++ b/src/libhttpd/hio.c
@@ -375,6 +375,7 @@ hvprint(Hio *h, char *fmt, va_list args)
f.flush = fmthflush;
f.farg = h;
f.nfmt = 0;
+ fmtlocaleinit(&f, nil, nil, nil);
n = fmtvprint(&f, fmt, args);
h->pos = f.to;
return n;