aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_stub_status_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-08-06 15:37:22 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-08-06 15:37:22 +0000
commit832571f0fc6c94471d55f3a73e5fa154d0bd2b1c (patch)
tree8ec68f3336b0013d6dfba77660100c215d282a14 /src/http/modules/ngx_http_stub_status_module.c
parentce6bcc0795d50874a44619ce23cc9ddd4295e88d (diff)
downloadnginx-832571f0fc6c94471d55f3a73e5fa154d0bd2b1c.tar.gz
nginx-832571f0fc6c94471d55f3a73e5fa154d0bd2b1c.zip
rename ngx_http_discard_body() to ngx_http_discard_request_body()
Diffstat (limited to 'src/http/modules/ngx_http_stub_status_module.c')
-rw-r--r--src/http/modules/ngx_http_stub_status_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_stub_status_module.c b/src/http/modules/ngx_http_stub_status_module.c
index 4fe9c04d5..10b393739 100644
--- a/src/http/modules/ngx_http_stub_status_module.c
+++ b/src/http/modules/ngx_http_stub_status_module.c
@@ -69,7 +69,7 @@ static ngx_int_t ngx_http_status_handler(ngx_http_request_t *r)
return NGX_HTTP_NOT_ALLOWED;
}
- rc = ngx_http_discard_body(r);
+ rc = ngx_http_discard_request_body(r);
if (rc != NGX_OK && rc != NGX_AGAIN) {
return rc;