diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-08-06 19:37:22 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-08-06 19:37:22 +0400 |
commit | 832571f0fc6c94471d55f3a73e5fa154d0bd2b1c (patch) | |
tree | 8ec68f3336b0013d6dfba77660100c215d282a14 /src/http/modules/ngx_http_dav_module.c | |
parent | ce6bcc0795d50874a44619ce23cc9ddd4295e88d (diff) |
rename ngx_http_discard_body() to ngx_http_discard_request_body()
Diffstat (limited to 'src/http/modules/ngx_http_dav_module.c')
-rw-r--r-- | src/http/modules/ngx_http_dav_module.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/modules/ngx_http_dav_module.c b/src/http/modules/ngx_http_dav_module.c index f3fbb9731..2378e3679 100644 --- a/src/http/modules/ngx_http_dav_module.c +++ b/src/http/modules/ngx_http_dav_module.c @@ -353,7 +353,7 @@ ngx_http_dav_delete_handler(ngx_http_request_t *r) return NGX_HTTP_UNSUPPORTED_MEDIA_TYPE; } - rc = ngx_http_discard_body(r); + rc = ngx_http_discard_request_body(r); if (rc != NGX_OK && rc != NGX_AGAIN) { return rc; @@ -469,7 +469,7 @@ ngx_http_dav_mkcol_handler(ngx_http_request_t *r, ngx_http_dav_loc_conf_t *dlcf) return NGX_HTTP_UNSUPPORTED_MEDIA_TYPE; } - rc = ngx_http_discard_body(r); + rc = ngx_http_discard_request_body(r); if (rc != NGX_OK && rc != NGX_AGAIN) { return rc; @@ -611,7 +611,7 @@ destination_done: overwrite_done: - rc = ngx_http_discard_body(r); + rc = ngx_http_discard_request_body(r); if (rc != NGX_OK && rc != NGX_AGAIN) { return rc; |