httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject svn commit: r757840 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c
Date Tue, 24 Mar 2009 15:19:57 GMT
Author: bnicholes
Date: Tue Mar 24 15:19:54 2009
New Revision: 757840

URL: http://svn.apache.org/viewvc?rev=757840&view=rev
Log:
Declare variables prior to code statements otherwise some compilers choke.

Modified:
    httpd/httpd/trunk/modules/cluster/mod_heartbeat.c

Modified: httpd/httpd/trunk/modules/cluster/mod_heartbeat.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartbeat.c?rev=757840&r1=757839&r2=757840&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartbeat.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartbeat.c Tue Mar 24 15:19:54 2009
@@ -141,8 +141,8 @@
     apr_pool_create(&tpool, pool);
     apr_pool_tag(tpool, "heartbeat_worker_temp");
     while (ctx->keep_running) {
-        apr_pool_clear(tpool);
         int mpm_state = 0;
+        apr_pool_clear(tpool);
 
         rv = ap_mpm_query(AP_MPMQ_MPM_STATE, &mpm_state);
 



Mime
View raw message