Mercurial > hg > nginx
comparison src/http/modules/ngx_http_userid_filter_module.c @ 3647:ba0db579aeb6
make logic more clear
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 25 Jun 2010 12:06:37 +0000 |
parents | 7a8e7576eb94 |
children | 67dc5dbbcca3 |
comparison
equal
deleted
inserted
replaced
3646:7a8e7576eb94 | 3647:ba0db579aeb6 |
---|---|
197 return ngx_http_next_header_filter(r); | 197 return ngx_http_next_header_filter(r); |
198 } | 198 } |
199 | 199 |
200 conf = ngx_http_get_module_loc_conf(r, ngx_http_userid_filter_module); | 200 conf = ngx_http_get_module_loc_conf(r, ngx_http_userid_filter_module); |
201 | 201 |
202 if (conf->enable <= NGX_HTTP_USERID_LOG) { | 202 if (conf->enable < NGX_HTTP_USERID_V1) { |
203 return ngx_http_next_header_filter(r); | 203 return ngx_http_next_header_filter(r); |
204 } | 204 } |
205 | 205 |
206 ctx = ngx_http_userid_get_uid(r, conf); | 206 ctx = ngx_http_userid_get_uid(r, conf); |
207 | 207 |