aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-09-09 15:40:48 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-09-09 15:40:48 +0000
commit2e6ba93fa79cadf9ed2256992d7c8c4d512f2b1f (patch)
tree50dd328ad6dbd0d9a22a561f2f335ebfe098f1d0 /src/http/ngx_http.c
parent0d9da9b6c3c4842eade3034e6e1f3ea140d08d6d (diff)
downloadnginx-2e6ba93fa79cadf9ed2256992d7c8c4d512f2b1f.tar.gz
nginx-2e6ba93fa79cadf9ed2256992d7c8c4d512f2b1f.zip
nginx-0.0.10-2004-09-09-19:40:48 import
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r--src/http/ngx_http.c4
1 files changed, 2 insertions, 2 deletions
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;