X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/blobdiff_plain/1e8d78b987550c351f47b204d3c9649cc1872e45..353bc75ddcc747e241296418a985ad2b265a86cf:/httpd.c diff --git a/httpd.c b/httpd.c index d03e1c5..e71fef7 100644 --- a/httpd.c +++ b/httpd.c @@ -429,7 +429,7 @@ void run_httpd(const void *t, int authmask, const struct httpd_config *dcfg, socklen_t addrlen; struct html_config cfg = *incfg; - cfg.format = "%lu"; + cfg.format = "%.0lu"; /* * Establish the listening socket and retrieve its port