Minor tweaks: turn the "http://address:port/0" URL of the topmost
[sgt/agedu] / httpd.c
diff --git a/httpd.c b/httpd.c
index d03e1c5..e71fef7 100644 (file)
--- 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