From 48f3783b601e1e3e2a77945b6fb6b4dcd8b6a333 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Thu, 12 Apr 2001 13:32:33 +0000 Subject: [PATCH] It's critical that apps use the APR_STATUS_IS_EFOO() canonicalization wrappers, or some platforms errors are missed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88822 13f79535-47bb-0310-9956-ffa450edef68 --- modules/dav/fs/repos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dav/fs/repos.c b/modules/dav/fs/repos.c index 8dde6f307c..e8064d1cc7 100644 --- a/modules/dav/fs/repos.c +++ b/modules/dav/fs/repos.c @@ -868,7 +868,7 @@ static dav_error * dav_fs_write_stream(dav_stream *stream, apr_status_t status; status = apr_file_write_full(stream->f, buf, bufsize, NULL); - if (status == APR_ENOSPC) { + if (APR_STATUS_IS_ENOSPC(status)) { return dav_new_error(stream->p, HTTP_INSUFFICIENT_STORAGE, 0, "There is not enough storage to write to " "this resource."); -- 2.40.0