changeset 1821:252110065e0a

axe useless code
author Igor Sysoev <igor@sysoev.ru>
date Thu, 03 Jan 2008 20:06:09 +0000
parents 559fedc0c78a
children 935427c55e04
files src/http/modules/ngx_http_dav_module.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_dav_module.c
+++ b/src/http/modules/ngx_http_dav_module.c
@@ -688,12 +688,6 @@ destination_done:
 
 overwrite_done:
 
-    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,