]> git.kaiwu.me - nginx.git/commitdiff
axe useless code
authorIgor Sysoev <igor@sysoev.ru>
Thu, 3 Jan 2008 20:06:09 +0000 (20:06 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 3 Jan 2008 20:06:09 +0000 (20:06 +0000)
src/http/modules/ngx_http_dav_module.c

index d0e27e99588db4a29a369e6ef1ec1399d85129c7..4056232eb0d03c18a95a24def87b51a0537bda52 100644 (file)
@@ -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,