Commit 7c04d39f authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  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
parent 36a6ee49
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.");