aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-12-30 10:19:32 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-12-30 10:19:32 +0000
commit0ce17d2b5b2b1ea38e729a3fc0c32b7f8906c02a (patch)
tree559ef1c093819f718d42d0faf9e1be8ff3829336 /src
parentab325357f90f5b41487c3fb9852bfae696b28223 (diff)
downloadnginx-0ce17d2b5b2b1ea38e729a3fc0c32b7f8906c02a.tar.gz
nginx-0ce17d2b5b2b1ea38e729a3fc0c32b7f8906c02a.zip
axe useless code
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_dav_module.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/http/modules/ngx_http_dav_module.c b/src/http/modules/ngx_http_dav_module.c
index 8c45e6441..d1b9b3564 100644
--- a/src/http/modules/ngx_http_dav_module.c
+++ b/src/http/modules/ngx_http_dav_module.c
@@ -354,12 +354,6 @@ ngx_http_dav_delete_handler(ngx_http_request_t *r)
return NGX_HTTP_UNSUPPORTED_MEDIA_TYPE;
}
- rc = ngx_http_discard_request_body(r);
-
- if (rc != NGX_OK) {
- return rc;
- }
-
ngx_http_map_uri_to_path(r, &path, &root, 0);
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,