From 2e6ba93fa79cadf9ed2256992d7c8c4d512f2b1f Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 9 Sep 2004 15:40:48 +0000 Subject: nginx-0.0.10-2004-09-09-19:40:48 import --- src/http/ngx_http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/http/ngx_http.c') diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index d02b2503a..391bd1bf8 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -54,10 +54,9 @@ ngx_module_t ngx_http_module = { static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) { + char *rv; ngx_uint_t mi, m, s, l, p, a, n; ngx_uint_t port_found, addr_found, virtual_names; - char *rv; - struct sockaddr_in *addr_in; ngx_conf_t pcf; ngx_array_t in_ports; ngx_listening_t *ls; @@ -514,6 +513,7 @@ static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) ls->nonblocking = 0; #endif #endif + ls->addr_ntop = 1; ls->handler = ngx_http_init_connection; -- cgit