hopefully I sidestepped the surprising conflation of OK/APR_SUCCESS
in this code
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1542493 13f79535-47bb-0310-9956-
ffa450edef68
len_read,
rpos = 0;
apr_off_t length = r->remaining;
- apr_size_t written;
*size = length;
while ((len_read =
rsize = len_read;
rc = apr_file_write_full(file, argsbuffer, (apr_size_t) rsize,
- &written);
- if (written != rsize || rc != OK)
- return APR_ENOSPC;
+ NULL);
+ if (rc != APR_SUCCESS)
+ return rc;
rpos += rsize;
}
}