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:
authorIgor Sysoev <igor@sysoev.ru>2004-04-26 00:13:21 +0400
committerIgor Sysoev <igor@sysoev.ru>2004-04-26 00:13:21 +0400
commit3f4685f3ded30199ec0c61f98b016f5880330422 (patch)
tree9b633e6681f3b02123700dea850ba0083eb4d6cb /src/http/ngx_http_special_response.c
parenta040f00167fa64e0bd5ea85f3c0551358e0ee544 (diff)
nginx-0.0.3-2004-04-26-00:13:21 import
Diffstat (limited to 'src/http/ngx_http_special_response.c')
-rw-r--r--src/http/ngx_http_special_response.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c
index 4eb8899de..ba8796925 100644
--- a/src/http/ngx_http_special_response.c
+++ b/src/http/ngx_http_special_response.c
@@ -213,7 +213,7 @@ int ngx_http_special_response_handler(ngx_http_request_t *r, int error)
if (r->err_ctx == NULL && clcf->error_pages) {
err_page = clcf->error_pages->elts;
for (i = 0; i < clcf->error_pages->nelts; i++) {
- if (err_page[i].code == error) {
+ if (err_page[i].status == error) {
if (err_page[i].overwrite) {
r->err_status = err_page[i].overwrite;
} else {