Show base_url in "listening on" output.
authorEmil Mikulic <emikulic@gmail.com>
Mon, 23 May 2011 13:50:07 +0000 (23:50 +1000)
committerEmil Mikulic <emikulic@gmail.com>
Sat, 4 Jun 2011 14:00:30 +0000 (00:00 +1000)
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)