Skip to content

Commit 1f89cbb

Browse files
author
manu
committed
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
1 parent 3067b17 commit 1f89cbb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

modules/dav/fs/quota.c

-6
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,6 @@ static apr_status_t get_dir_used_bytes_walk(request_rec *r,
9898
break;
9999

100100
case APR_DIR:
101-
if ((finfo.valid & APR_FINFO_NAME) == 0) {
102-
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
103-
"Cannot get entry name in \"%s\"", path);
104-
goto out;
105-
}
106-
107101
rv = apr_filepath_merge(&newpath, path, finfo.name, 0, r->pool);
108102
if (rv != APR_SUCCESS) {
109103
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,

0 commit comments

Comments
 (0)