mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
fix msvc build failure
This commit is contained in:
parent
b6ef94f49b
commit
db4e43c225
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ ngx_http_upstream_init_round_robin(ngx_conf_t *cf,
|
|||
ngx_memzero(&u, sizeof(ngx_url_t));
|
||||
|
||||
u.host = us->host;
|
||||
u.port = us->port ? us->port : us->default_port;
|
||||
u.port = (in_port_t) (us->port ? us->port : us->default_port);
|
||||
|
||||
if (ngx_inet_resolve_host(cf, &u) != NGX_OK) {
|
||||
if (u.err) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue