mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +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:
@@ -1846,7 +1846,7 @@ static int proxy_ftp_handler(request_rec *r, proxy_worker *worker,
|
||||
if (use_port) {
|
||||
for (;;) {
|
||||
rv = apr_socket_accept(&data_sock, local_sock, r->pool);
|
||||
if (rv == APR_EINTR) {
|
||||
if (APR_STATUS_IS_EINTR(rv)) {
|
||||
continue;
|
||||
}
|
||||
else if (rv == APR_SUCCESS) {
|
||||
|
Reference in New Issue
Block a user