mirror of
https://github.com/nginx/nginx.git
synced 2025-06-13 06:12:44 +08:00
fix building without IPv6 after the previous commit
This commit is contained in:
parent
80dd7e5015
commit
a81a383053
@ -476,10 +476,10 @@ static ngx_int_t
|
|||||||
ngx_http_userid_create_uid(ngx_http_request_t *r, ngx_http_userid_ctx_t *ctx,
|
ngx_http_userid_create_uid(ngx_http_request_t *r, ngx_http_userid_ctx_t *ctx,
|
||||||
ngx_http_userid_conf_t *conf)
|
ngx_http_userid_conf_t *conf)
|
||||||
{
|
{
|
||||||
u_char *p;
|
|
||||||
ngx_connection_t *c;
|
ngx_connection_t *c;
|
||||||
struct sockaddr_in *sin;
|
struct sockaddr_in *sin;
|
||||||
#if (NGX_HAVE_INET6)
|
#if (NGX_HAVE_INET6)
|
||||||
|
u_char *p;
|
||||||
struct sockaddr_in6 *sin6;
|
struct sockaddr_in6 *sin6;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user