From: Ruslan Ermilov Date: Wed, 19 Feb 2014 17:45:27 +0000 (+0400) Subject: Access: supplemented the obfuscated code with a comment. X-Git-Tag: release-1.5.11~11 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=3da53f339d37f03aaf5c60119898b235ee466a48;p=nginx.git Access: supplemented the obfuscated code with a comment. --- diff --git a/src/http/modules/ngx_http_access_module.c b/src/http/modules/ngx_http_access_module.c index fcee40ca0..c553e4610 100644 --- a/src/http/modules/ngx_http_access_module.c +++ b/src/http/modules/ngx_http_access_module.c @@ -259,7 +259,11 @@ ngx_http_access_unix(ngx_http_request_t *r, ngx_http_access_loc_conf_t *alcf) rule_un = alcf->rules_un->elts; for (i = 0; i < alcf->rules_un->nelts; i++) { - return ngx_http_access_found(r, rule_un[i].deny); + + /* TODO: check path */ + if (1) { + return ngx_http_access_found(r, rule_un[i].deny); + } } return NGX_DECLINED;