Show base_url in "listening on" output.
[darkstat] / http.c
diff --git a/http.c b/http.c
index 4afc8c8..4bdc0e6 100644 (file)
--- a/http.c
+++ b/http.c
@@ -964,7 +964,7 @@ void http_init(const char *base, const char *bindaddr,
             continue;
         }
 
-        verbosef("listening on %s:%u", ipaddr, bindport);
+        verbosef("listening on http://%s:%u%s", ipaddr, bindport, base_url);
 
         /* listen on socket */
         if (listen(sockin, max_conn) >= 0)