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>2003-10-17 00:19:16 +0400
committerIgor Sysoev <igor@sysoev.ru>2003-10-17 00:19:16 +0400
commitd404c9716322cfe8778e7494e55efb924f35ecaa (patch)
tree1501d7225b9c5f9f8cb7d87ece670bd5f9238b59 /src/http/ngx_http_special_response.c
parente4aabac04e078f07dce73e90847ef02d74facbe2 (diff)
nginx-0.0.1-2003-10-17-00:19:16 import
Diffstat (limited to 'src/http/ngx_http_special_response.c')
-rw-r--r--src/http/ngx_http_special_response.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c
index 14c071775..7e7a42b34 100644
--- a/src/http/ngx_http_special_response.c
+++ b/src/http/ngx_http_special_response.c
@@ -163,11 +163,11 @@ int ngx_http_special_response_handler(ngx_http_request_t *r, int error)
} else if (error < NGX_HTTP_INTERNAL_SERVER_ERROR) {
/* 4XX */
- err = error - NGX_HTTP_BAD_REQUEST + 4;
+ err = error - NGX_HTTP_BAD_REQUEST + 3;
} else {
/* 5XX */
- err = error - NGX_HTTP_INTERNAL_SERVER_ERROR + 4 + 17;
+ err = error - NGX_HTTP_INTERNAL_SERVER_ERROR + 3 + 17;
}
if (r->keepalive != 0) {