summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http.c
diff options
context:
space:
mode:
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] == ':') {