mirror of
https://github.com/apache/httpd.git
synced 2026-01-06 09:01:14 +03:00
Use APR_STATUS_IS_... in some more cases.
While this is not strictly necessary everywhere, it makes it much easier to find the problematic cases. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1102124 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1371,7 +1371,7 @@ apr_status_t ap_proxygetline(apr_bucket_brigade *bb, char *s, int n, request_rec
|
||||
|
||||
if (rv == APR_SUCCESS) {
|
||||
*writen = (int) len;
|
||||
} else if (rv == APR_ENOSPC) {
|
||||
} else if (APR_STATUS_IS_ENOSPC(rv)) {
|
||||
*writen = n;
|
||||
} else {
|
||||
*writen = -1;
|
||||
|
||||
Reference in New Issue
Block a user