aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_status_handler.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-09-05 19:54:02 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-09-05 19:54:02 +0000
commit980a92472cc30271ad7e88eb2dcc43f00e984d4d (patch)
treeb8940cd9e6b8859c78e3c023c1373bae02371f2e /src/http/modules/ngx_http_status_handler.c
parentb9e344175f4e971284aa14c8fe685936a4957d52 (diff)
downloadnginx-980a92472cc30271ad7e88eb2dcc43f00e984d4d.tar.gz
nginx-980a92472cc30271ad7e88eb2dcc43f00e984d4d.zip
nginx-0.0.10-2004-09-05-23:54:02 import
Diffstat (limited to 'src/http/modules/ngx_http_status_handler.c')
-rw-r--r--src/http/modules/ngx_http_status_handler.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_status_handler.c b/src/http/modules/ngx_http_status_handler.c
index 57d7aa077..97492ebb9 100644
--- a/src/http/modules/ngx_http_status_handler.c
+++ b/src/http/modules/ngx_http_status_handler.c
@@ -70,8 +70,7 @@ static ngx_int_t ngx_http_status_handler(ngx_http_request_t *r)
return rc;
}
- if (!(r->headers_out.content_type =
- ngx_http_add_header(&r->headers_out, ngx_http_headers_out)))
+ if (!(r->headers_out.content_type = ngx_push_list(&r->headers_out.headers)))
{
return NGX_HTTP_INTERNAL_SERVER_ERROR;
}