httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r567839 - /httpd/httpd/trunk/server/mpm/experimental/event/event.c
Date Mon, 20 Aug 2007 21:46:58 GMT
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;
     }
 



Mime
View raw message