Skip to content

Commit

Permalink
Win32: fixed build after 384154fc634f.
Browse files Browse the repository at this point in the history
  • Loading branch information
xeioex committed Mar 23, 2016
1 parent 3c48fd7 commit 2e6e246
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/core/ngx_resolver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 2e6e246

Please sign in to comment.