comparison src/http/modules/ngx_http_userid_filter_module.c @ 3649:fd6f0f1a9055

fix building without IPv6 after the previous commit
author Igor Sysoev <igor@sysoev.ru>
date Fri, 25 Jun 2010 13:17:33 +0000
parents 67dc5dbbcca3
children 7e69af2dd93c
comparison
equal deleted inserted replaced
3648:67dc5dbbcca3 3649:fd6f0f1a9055
474 474
475 static ngx_int_t 475 static ngx_int_t
476 ngx_http_userid_create_uid(ngx_http_request_t *r, ngx_http_userid_ctx_t *ctx, 476 ngx_http_userid_create_uid(ngx_http_request_t *r, ngx_http_userid_ctx_t *ctx,
477 ngx_http_userid_conf_t *conf) 477 ngx_http_userid_conf_t *conf)
478 { 478 {
479 u_char *p;
480 ngx_connection_t *c; 479 ngx_connection_t *c;
481 struct sockaddr_in *sin; 480 struct sockaddr_in *sin;
482 #if (NGX_HAVE_INET6) 481 #if (NGX_HAVE_INET6)
482 u_char *p;
483 struct sockaddr_in6 *sin6; 483 struct sockaddr_in6 *sin6;
484 #endif 484 #endif
485 485
486 /* 486 /*
487 * TODO: in the threaded mode the sequencers should be in TLS and their 487 * TODO: in the threaded mode the sequencers should be in TLS and their