]> git.kaiwu.me - nginx.git/commitdiff
make logic more clear
authorIgor Sysoev <igor@sysoev.ru>
Fri, 25 Jun 2010 12:06:37 +0000 (12:06 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 25 Jun 2010 12:06:37 +0000 (12:06 +0000)
src/http/modules/ngx_http_userid_filter_module.c

index 8304e0bcbc7c850101c952d57f0afba95e32be90..6294628e7df1ca000aadedc34c25c9a70aa1ac62 100644 (file)
@@ -199,7 +199,7 @@ ngx_http_userid_filter(ngx_http_request_t *r)
 
     conf = ngx_http_get_module_loc_conf(r, ngx_http_userid_filter_module);
 
-    if (conf->enable <= NGX_HTTP_USERID_LOG) {
+    if (conf->enable < NGX_HTTP_USERID_V1) {
         return ngx_http_next_header_filter(r);
     }