summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2013-03-03 18:38:14 +0100
committerEric Covener <covener@apache.org>2013-03-03 18:38:14 +0100
commit1ea14dadff1cca59cd78da90a4c2b0cf206d33a4 (patch)
tree16b7edaf339d39fe8996da3a47aa01e50867d522
parentFollow-up to r1451905 to fix NetWare/Windows compilation. (diff)
downloadapache2-1ea14dadff1cca59cd78da90a4c2b0cf206d33a4.tar.xz
apache2-1ea14dadff1cca59cd78da90a4c2b0cf206d33a4.zip
rv uninitialized -- the failing checks don't set rv, so don't pass it to ap_log_error.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1452072 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--server/mpm/event/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c
index dce0c25e60..7523accbff 100644
--- a/server/mpm/event/event.c
+++ b/server/mpm/event/event.c
@@ -2940,7 +2940,7 @@ static int event_pre_config(apr_pool_t * pconf, apr_pool_t * plog,
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;
}