diff options
Diffstat (limited to 'src/http/modules/ngx_http_status_module.c')
-rw-r--r-- | src/http/modules/ngx_http_status_module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_status_module.c b/src/http/modules/ngx_http_status_module.c index ce49ae426..cf4f33f84 100644 --- a/src/http/modules/ngx_http_status_module.c +++ b/src/http/modules/ngx_http_status_module.c @@ -78,7 +78,7 @@ static ngx_int_t ngx_http_status_handler(ngx_http_request_t *r) r->headers_out.content_type = ngx_list_push(&r->headers_out.headers); if (r->headers_out.content_type == NULL) { return NGX_HTTP_INTERNAL_SERVER_ERROR; - } + } r->headers_out.content_type->key.len = 0; r->headers_out.content_type->key.data = NULL; @@ -281,7 +281,7 @@ static ngx_int_t ngx_http_status(ngx_http_status_ctx_t *ctx) if (ctx->head) { *ll = cl; - } else { + } else { ctx->head = cl; } |