You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2007/08/20 23:46:58 UTC
svn commit: r567839 -
/httpd/httpd/trunk/server/mpm/experimental/event/event.c
Author: pquerna
Date: Mon Aug 20 14:46:53 2007
New Revision: 567839
URL: http://svn.apache.org/viewvc?rev=567839&view=rev
Log:
Use APR_STATUS_IS_NOTFOUND() rather than comparing against NOTFOUND directly.
Modified:
httpd/httpd/trunk/server/mpm/experimental/event/event.c
Modified: httpd/httpd/trunk/server/mpm/experimental/event/event.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/experimental/event/event.c?rev=567839&r1=567838&r2=567839&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/experimental/event/event.c (original)
+++ httpd/httpd/trunk/server/mpm/experimental/event/event.c Mon Aug 20 14:46:53 2007
@@ -831,7 +831,7 @@
* 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;
}