]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove usuless double check of APR_FINFO_NAME neing set
authormanu <manu@unknown>
Tue, 7 Mar 2023 01:28:59 +0000 (01:28 +0000)
committermanu <manu@unknown>
Tue, 7 Mar 2023 01:28:59 +0000 (01:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908143 13f79535-47bb-0310-9956-ffa450edef68

modules/dav/fs/quota.c

index 8f87f37ec85c420ba0165107605acd364cdc9890..37cbb6cf146e4adc39d61a10f447da16b79284bd 100644 (file)
@@ -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,