changeset 434:8998b09f89e9

nginx-0.0.11-2004-09-21-23:55:00 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 21 Sep 2004 19:55:00 +0000
parents 9a97dcdd2421
children 5cdc4838d4e8
files src/http/ngx_http_core_module.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);