httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1452072 - /httpd/httpd/trunk/server/mpm/event/event.c
Date Sun, 03 Mar 2013 17:38:15 GMT
Author: covener
Date: Sun Mar  3 17:38:14 2013
New Revision: 1452072

URL: http://svn.apache.org/r1452072
Log:
rv uninitialized -- the failing checks don't set rv, so don't pass it to ap_log_error.


Modified:
    httpd/httpd/trunk/server/mpm/event/event.c

Modified: httpd/httpd/trunk/server/mpm/event/event.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/event/event.c?rev=1452072&r1=1452071&r2=1452072&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/event/event.c (original)
+++ httpd/httpd/trunk/server/mpm/event/event.c Sun Mar  3 17:38:14 2013
@@ -2940,7 +2940,7 @@ static int event_pre_config(apr_pool_t *
         apr_atomic_dec32(&foo);
         i = apr_atomic_dec32(&foo);
         if (i >= 0) {
-            ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, APLOGNO(02405)
+            ap_log_error(APLOG_MARK, APLOG_CRIT, 0, NULL, APLOGNO(02405)
                          "atomics not working as expected");
             return HTTP_INTERNAL_SERVER_ERROR;
         }



Mime
View raw message