summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormanu <manu@unknown>2023-03-07 01:28:59 +0000
committermanu <manu@unknown>2023-03-07 01:28:59 +0000
commit1f89cbb0d50f2394bfcf16311b91e0c747c2cc86 (patch)
tree440da8c93dbfb034c55eafe1f25ac85c1e9c79ff /modules
parent3067b17275823708de743be1e828dbd5db3a8b4e (diff)
downloadhttpd-1f89cbb0d50f2394bfcf16311b91e0c747c2cc86.tar.gz
Remove usuless double check of APR_FINFO_NAME neing set
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908143 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/dav/fs/quota.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/dav/fs/quota.c b/modules/dav/fs/quota.c
index 8f87f37ec8..37cbb6cf14 100644
--- a/modules/dav/fs/quota.c
+++ b/modules/dav/fs/quota.c
@@ -98,12 +98,6 @@ static apr_status_t get_dir_used_bytes_walk(request_rec *r,
break;
case APR_DIR:
- if ((finfo.valid & APR_FINFO_NAME) == 0) {
- ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
- "Cannot get entry name in \"%s\"", path);
- goto out;
- }
-
rv = apr_filepath_merge(&newpath, path, finfo.name, 0, r->pool);
if (rv != APR_SUCCESS) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,