Fixed build without IPv6, broken by 874171c3c71a.
Maxim Dounin
4 years ago
1 changed file(s) with
3 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+3
-1
src/core/ngx_inet.c
less
more
181
181
ngx_uint_t port)
182
182
{
183
183
u_char *p;
184
#if (NGX_HAVE_INET6 || NGX_HAVE_UNIX_DOMAIN)
185
size_t n;
186
#endif
184
187
struct sockaddr_in *sin;
185
188
#if (NGX_HAVE_INET6)
186
size_t n;
187
189
struct sockaddr_in6 *sin6;
188
190
#endif
189
191
#if (NGX_HAVE_UNIX_DOMAIN)