1
0
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:
Jeff Trawick
2002-01-23 20:55:10 +00:00
parent d54e73a19c
commit 5ec0e43963

View File

@@ -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;
}