mirror of
https://github.com/nginx/nginx.git
synced 2024-11-26 02:40:46 -06:00
axe unneeded port field
This commit is contained in:
parent
80a4f29c8a
commit
4da223c8b5
@ -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] == ':') {
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user