# HG changeset patch # User Igor Sysoev # Date 1095796500 0 # Node ID 8998b09f89e9b06091a604fb1b7ffa657839aef7 # Parent 9a97dcdd242177257037df6ba6a86b68be4a9647 nginx-0.0.11-2004-09-21-23:55:00 import diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c --- 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 * return NGX_CONF_OK; } + ls->port = port; + ls->addr = inet_addr((const char *) addr); if (ls->addr == INADDR_NONE) { h = gethostbyname((const char *) addr);