diff options
Diffstat (limited to 'src/blogc-runserver')
-rw-r--r-- | src/blogc-runserver/httpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blogc-runserver/httpd.c b/src/blogc-runserver/httpd.c index f3b2e2b..ca16394 100644 --- a/src/blogc-runserver/httpd.c +++ b/src/blogc-runserver/httpd.c @@ -275,10 +275,10 @@ br_httpd_run(const char *host, const char *port, const char *docroot, int rv = 0; struct addrinfo *rp; - int server_socket; + int server_socket = 0; char *final_host = NULL; - u_int16_t final_port; + u_int16_t final_port = 0; for (rp = result; rp != NULL; rp = rp->ai_next) { final_host = br_httpd_get_ip(rp->ai_family, rp->ai_addr); |