aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/http/ngx_http_core_module.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 34149c49f..2bff24560 100644
--- 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_request_t *r,
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 */