Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 5fd53179d..474338933 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -476,7 +476,7 @@ ngx_http_core_run_phases(ngx_http_request_t *r)
cmcf = ngx_http_get_module_main_conf(r, ngx_http_core_module);
- for (/* void */; r->phase < NGX_HTTP_LAST_PHASE; r->phase++) {
+ for (/* void */; r->phase < NGX_HTTP_LOG_PHASE; r->phase++) {
if (r->phase == NGX_HTTP_REWRITE_PHASE + 1 && r->uri_changed) {
@@ -1098,7 +1098,8 @@ ngx_http_subrequest(ngx_http_request_t *r,
}
if (ngx_list_init(&sr->headers_out.headers, r->pool, 20,
- sizeof(ngx_table_elt_t)) == NGX_ERROR)
+ sizeof(ngx_table_elt_t))
+ == NGX_ERROR)
{
return NGX_HTTP_INTERNAL_SERVER_ERROR;
}