httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r759849 - /httpd/httpd/trunk/modules/cluster/mod_heartbeat.c
Date Mon, 30 Mar 2009 06:38:14 GMT
Author: mturk
Date: Mon Mar 30 06:38:14 2009
New Revision: 759849

URL: http://svn.apache.org/viewvc?rev=759849&view=rev
Log:
Use correct check logic

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=759849&r1=759848&r2=759849&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartbeat.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartbeat.c Mon Mar 30 06:38:14 2009
@@ -136,7 +136,7 @@
     apr_status_t rv;
     hb_ctx_t *ctx = ap_get_module_config(s->module_config, &heartbeat_module);
 
-    if (!ctx->active && strcmp(name, AP_WATCHDOG_SINGLETON)) {
+    if (!ctx->active || strcmp(name, AP_WATCHDOG_SINGLETON)) {
         return OK;
     }
     return hb_monitor(ctx, pool);



Mime
View raw message