# HG changeset patch # User Igor Sysoev # Date 1168639040 0 # Node ID af57bfd77b7f9738e693ae01f54f9780abd6ec82 # Parent ff07ccfaad507269b0525d0a90ef02d9c8e02a77 style fix diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -935,7 +935,8 @@ ngx_http_core_find_location(ngx_http_req if (clcfp[i]->auto_redirect && r->uri.len == clcfp[i]->name.len - 1 && ngx_strncmp(r->uri.data, clcfp[i]->name.data, - clcfp[i]->name.len - 1) == 0) + clcfp[i]->name.len - 1) + == 0) { /* the locations are lexicographically sorted */