From 3e7735a5ec494f37fd47b014d898fccc1dde47da Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Thu, 24 Jan 2002 15:31:31 +0000 Subject: [PATCH] If you only mean to ask one question, why ask a dozen? Submitted by: Greg Stein git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93000 13f79535-47bb-0310-9956-ffa450edef68 --- modules/dav/fs/lock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/dav/fs/lock.c b/modules/dav/fs/lock.c index f063fc5e12..bfc37c2831 100644 --- a/modules/dav/fs/lock.c +++ b/modules/dav/fs/lock.c @@ -844,8 +844,8 @@ static dav_error * dav_fs_load_locknull_list(apr_pool_t *p, const char *dirpath, return NULL; } - rv = apr_file_info_get(&finfo, APR_FINFO_NORM, file); - if (rv != APR_SUCCESS && rv != APR_INCOMPLETE) { + rv = apr_file_info_get(&finfo, APR_FINFO_SIZE, file); + if (rv != APR_SUCCESS) { err = dav_new_error(p, HTTP_INTERNAL_SERVER_ERROR, 0, apr_psprintf(p, "Opened but could not stat file %s", -- 2.40.0