]> git.kaiwu.me - nginx.git/commitdiff
fix building without IPv6 after the previous commit
authorIgor Sysoev <igor@sysoev.ru>
Fri, 25 Jun 2010 13:17:33 +0000 (13:17 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 25 Jun 2010 13:17:33 +0000 (13:17 +0000)
src/http/modules/ngx_http_userid_filter_module.c

index 5177decf1054ac077fa3f2c5b6929938f9454e62..412a1370eb766cf01cff1b75010c01e15fcddf77 100644 (file)
@@ -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