mirror of
https://github.com/apache/httpd.git
synced 2026-01-26 19:01:35 +03:00
set the variable before looking at it
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92988 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -769,8 +769,8 @@ static dav_error * dav_fs_get_parent_resource(const dav_resource *resource,
|
||||
parent_resource->uri = uri;
|
||||
}
|
||||
|
||||
apr_stat(&parent_ctx->finfo, parent_ctx->pathname,
|
||||
APR_FINFO_NORM, ctx->pool);
|
||||
rv = apr_stat(&parent_ctx->finfo, parent_ctx->pathname,
|
||||
APR_FINFO_NORM, ctx->pool);
|
||||
if (rv == APR_SUCCESS || rv == APR_INCOMPLETE) {
|
||||
parent_resource->exists = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user