]> granicus.if.org Git - apache/blobdiff - modules/dav/fs/repos.c
switch to APR 1.0 API (which is still in flux)
[apache] / modules / dav / fs / repos.c
index 84babeda4bfee095cd4d4523ebe7284c68ac710a..5f1967117105ff1bd61df549afe31a3efb97bcd4 100644 (file)
@@ -1490,8 +1490,8 @@ static dav_error * dav_fs_walker(dav_fs_walker_context *fsctx, int depth)
 
 
         /* ### Optimize me, dirent can give us what we need! */
-        status = apr_lstat(&fsctx->info1.finfo, fsctx->path1.buf, 
-                           APR_FINFO_NORM, pool);
+        status = apr_stat(&fsctx->info1.finfo, fsctx->path1.buf, 
+                          APR_FINFO_NORM | APR_FINFO_LINK, pool);
         if (status != APR_SUCCESS && status != APR_INCOMPLETE) {
             /* woah! where'd it go? */
             /* ### should have a better error here */