]> granicus.if.org Git - apache/commitdiff
Gotta use APR_STATUS_IS_EFOO() wrappers on all except our internally
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 12 Apr 2001 13:35:04 +0000 (13:35 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 12 Apr 2001 13:35:04 +0000 (13:35 +0000)
  defined status codes (e.g. APR_EOF and APR_STATUS tests are ok.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88823 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/mod_ext_filter.c

index 85ceb639eb869c93a2686bcc005ca1d436cb886b..defc85492c76cb0fc4352fbb94bd300e27d39f47 100644 (file)
@@ -606,7 +606,7 @@ static apr_status_t pass_data_to_filter(ap_filter_t *f, const char *data,
                     ap_log_rerror(APLOG_MARK, APLOG_DEBUG,
                                   rv, f->r, "apr_poll()");
                 }
-                if (rv != APR_SUCCESS && rv != APR_EINTR) { 
+                if (rv != APR_SUCCESS && !APR_STATUS_IS_EINTR(rv)) { 
                     /* some error such as APR_TIMEUP */
                     return rv;
                 }