]> granicus.if.org Git - apache/commitdiff
If you only mean to ask one question, why ask a dozen?
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 24 Jan 2002 15:31:31 +0000 (15:31 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 24 Jan 2002 15:31:31 +0000 (15:31 +0000)
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

index f063fc5e129122491dcf4cede3a6dc4399812527..bfc37c28318a3d348ee69e388c03fcb73408785d 100644 (file)
@@ -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",