mirror of
https://github.com/nginx/nginx.git
synced 2026-06-24 10:58:49 +00:00
axe unneeded port field
This commit is contained in:
parent
80a4f29c8a
commit
4da223c8b5
2 changed files with 0 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue