X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/blobdiff_plain/256c29a27ba79677a78bc676a3cc73ee1aad2d68..cfe942fb3391ae80e816272d7baa45be30e5e7ec:/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