Enable httpd on the configured port

This commit is contained in:
Julien BLACHE 2009-05-03 10:47:21 +02:00
parent d46bb295c5
commit c76c8165ce
1 changed files with 1 additions and 1 deletions

View File

@ -1001,7 +1001,7 @@ httpd_init(void)
goto evhttp_fail; goto evhttp_fail;
} }
port = cfg_getint(cfg_getnsec(cfg, "library", 0), "port") /* tmp */ + 1; port = cfg_getint(cfg_getnsec(cfg, "library", 0), "port");
/* evhttp doesn't support IPv6 yet, so this is expected to fail */ /* evhttp doesn't support IPv6 yet, so this is expected to fail */
bindv6 = evhttp_bind_socket(evhttpd, "::", port); bindv6 = evhttp_bind_socket(evhttpd, "::", port);