summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-02-23 21:30:31 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-02-23 21:30:31 +0000
commit4da223c8b54546d3773fd3dcacdae7d7723caf46 (patch)
tree4bf526ab41ab2d621997b0a3903aa1c63ec960bd /src/http/ngx_http.c
parent80a4f29c8aed45497aef158f477fb828313f2e27 (diff)
downloadnginx-4da223c8b54546d3773fd3dcacdae7d7723caf46.tar.gz
nginx-4da223c8b54546d3773fd3dcacdae7d7723caf46.tar.bz2
axe unneeded port field
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r--src/http/ngx_http.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index ecd9c97d7..080ef8e8e 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -1647,8 +1647,6 @@ ngx_http_init_listening(ngx_conf_t *cf, ngx_http_conf_port_t *port)
ls->servers = hport;
- hport->port = ntohs(port->port);
-
for (i = ls->addr_text.len - 1; i; i--) {
if (ls->addr_text.data[i] == ':') {