Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/http
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-09-21 23:55:00 +0400
committerIgor Sysoev <igor@sysoev.ru>2004-09-21 23:55:00 +0400
commitf1602634ad817eb03bf7873641ed3c2bfa7223f6 (patch)
treea9fe3af18b9e761558d0c176666da78b925fe47c /src/http
parent4624ae7d0831f836529acb57a8c3ce6199e67d6e (diff)
nginx-0.0.11-2004-09-21-23:55:00 import
Diffstat (limited to 'src/http')
-rw-r--r--src/http/ngx_http_core_module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index b345b2a7a..06f1565a0 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1543,6 +1543,8 @@ static char *ngx_set_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
return NGX_CONF_OK;
}
+ ls->port = port;
+
ls->addr = inet_addr((const char *) addr);
if (ls->addr == INADDR_NONE) {
h = gethostbyname((const char *) addr);