From: Paul Querna Date: Mon, 20 Aug 2007 21:46:53 +0000 (+0000) Subject: Use APR_STATUS_IS_NOTFOUND() rather than comparing against NOTFOUND directly. X-Git-Tag: 2.3.0~1584 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ed6868ef62e705dfa4012fdb7b41fc0d8b28226;p=thirdparty%2Fapache%2Fhttpd.git Use APR_STATUS_IS_NOTFOUND() rather than comparing against NOTFOUND directly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@567839 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/experimental/event/event.c b/server/mpm/experimental/event/event.c index f8b50321496..febdd78b0b1 100644 --- a/server/mpm/experimental/event/event.c +++ b/server/mpm/experimental/event/event.c @@ -831,7 +831,7 @@ static apr_status_t push2worker(const apr_pollfd_t * pfd, * therefore, we can accept _SUCCESS or _NOTFOUND, * and we still want to keep going */ - if (rc != APR_SUCCESS && rc != APR_NOTFOUND) { + if (rc != APR_SUCCESS && !APR_STATUS_IS_NOTFOUND(rc)) { cs->state = CONN_STATE_LINGER; }