From: manu Date: Tue, 7 Mar 2023 01:28:59 +0000 (+0000) Subject: Remove usuless double check of APR_FINFO_NAME neing set X-Git-Tag: 2.5.0-alpha2-ci-test-only~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f89cbb0d50f2394bfcf16311b91e0c747c2cc86;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/dav/fs/quota.c b/modules/dav/fs/quota.c index 8f87f37ec85..37cbb6cf146 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,