From: Jeff Trawick Date: Wed, 23 Jan 2002 20:55:10 +0000 (+0000) Subject: set the variable before looking at it X-Git-Tag: 2.0.31~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ec0e4396315ed1d8316af2d6764b432e81c19ed;p=apache 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 --- diff --git a/modules/dav/fs/repos.c b/modules/dav/fs/repos.c index a74adf9e52..2ebdc0bbf4 100644 --- a/modules/dav/fs/repos.c +++ b/modules/dav/fs/repos.c @@ -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; }