From 1ed6868ef62e705dfa4012fdb7b41fc0d8b28226 Mon Sep 17 00:00:00 2001 From: Paul Querna Date: Mon, 20 Aug 2007 21:46:53 +0000 Subject: [PATCH] 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 --- server/mpm/experimental/event/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/mpm/experimental/event/event.c b/server/mpm/experimental/event/event.c index f8b5032149..febdd78b0b 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; } -- 2.40.0