You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2002/01/23 21:55:10 UTC
cvs commit: httpd-2.0/modules/dav/fs repos.c
trawick 02/01/23 12:55:10
Modified: modules/dav/fs repos.c
Log:
set the variable before looking at it
Revision Changes Path
1.58 +2 -2 httpd-2.0/modules/dav/fs/repos.c
Index: repos.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/dav/fs/repos.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- repos.c 23 Jan 2002 18:28:05 -0000 1.57
+++ repos.c 23 Jan 2002 20:55:10 -0000 1.58
@@ -769,8 +769,8 @@
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;
}