mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 21:53:31 -06:00
Win32: fixed build after 384154fc634f.
This commit is contained in:
parent
3c48fd7c05
commit
2e6e246794
@ -2758,7 +2758,7 @@ ngx_resolver_process_srv(ngx_resolver_t *r, u_char *buf, size_t n,
|
||||
}
|
||||
|
||||
rn->u.srvs = srvs;
|
||||
rn->nsrvs = nsrvs;
|
||||
rn->nsrvs = (u_short) nsrvs;
|
||||
|
||||
j = 0;
|
||||
i = ans;
|
||||
@ -4243,8 +4243,7 @@ ngx_resolver_export(ngx_resolver_t *r, ngx_resolver_node_t *rn,
|
||||
static void
|
||||
ngx_resolver_report_srv(ngx_resolver_t *r, ngx_resolver_ctx_t *ctx)
|
||||
{
|
||||
u_short nsrvs;
|
||||
ngx_uint_t naddrs, nw, i, j, k, l, m, n, w;
|
||||
ngx_uint_t naddrs, nsrvs, nw, i, j, k, l, m, n, w;
|
||||
ngx_resolver_addr_t *addrs;
|
||||
ngx_resolver_srv_name_t *srvs;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user