diff 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
line wrap: on
line diff
--- a/src/http/modules/ngx_http_userid_filter_module.c
+++ b/src/http/modules/ngx_http_userid_filter_module.c
@@ -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_conf_t *conf)
 {
-    u_char               *p;
     ngx_connection_t     *c;
     struct sockaddr_in   *sin;
 #if (NGX_HAVE_INET6)
+    u_char               *p;
     struct sockaddr_in6  *sin6;
 #endif