axe unneeded port field

This commit is contained in:
Igor Sysoev 2009-02-23 21:30:31 +00:00
parent 80a4f29c8a
commit 4da223c8b5
2 changed files with 0 additions and 3 deletions

View File

@ -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] == ':') {

View File

@ -200,7 +200,6 @@ typedef struct {
typedef struct {
in_port_t port;
ngx_str_t port_text;
/* ngx_http_in_addr_t or ngx_http_in6_addr_t */