From: William A. Rowe Jr Date: Thu, 12 Apr 2001 13:32:33 +0000 (+0000) Subject: It's critical that apps use the APR_STATUS_IS_EFOO() canonicalization X-Git-Tag: 2.0.17~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48f3783b601e1e3e2a77945b6fb6b4dcd8b6a333;p=apache 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 --- 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.");