Mercurial > hg > nginx
comparison src/http/modules/ngx_http_dav_module.c @ 1814:d466c739b54b
axe useless code
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 30 Dec 2007 10:19:32 +0000 |
parents | d3f80e0be8fa |
children | 1e2fb527f9c0 |
comparison
equal
deleted
inserted
replaced
1813:d3f80e0be8fa | 1814:d466c739b54b |
---|---|
352 | 352 |
353 if (r->headers_in.content_length_n > 0) { | 353 if (r->headers_in.content_length_n > 0) { |
354 return NGX_HTTP_UNSUPPORTED_MEDIA_TYPE; | 354 return NGX_HTTP_UNSUPPORTED_MEDIA_TYPE; |
355 } | 355 } |
356 | 356 |
357 rc = ngx_http_discard_request_body(r); | |
358 | |
359 if (rc != NGX_OK) { | |
360 return rc; | |
361 } | |
362 | |
363 ngx_http_map_uri_to_path(r, &path, &root, 0); | 357 ngx_http_map_uri_to_path(r, &path, &root, 0); |
364 | 358 |
365 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 359 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
366 "http delete filename: \"%s\"", path.data); | 360 "http delete filename: \"%s\"", path.data); |
367 | 361 |