From: Mladen Turk Date: Mon, 30 Mar 2009 06:38:14 +0000 (+0000) Subject: Use correct check logic X-Git-Tag: 2.3.3~753 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e897431506cbc1998f74c9b7dcf321a1afb7960c;p=thirdparty%2Fapache%2Fhttpd.git Use correct check logic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759849 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cluster/mod_heartbeat.c b/modules/cluster/mod_heartbeat.c index d5d276f49de..f747e8d44eb 100644 --- a/modules/cluster/mod_heartbeat.c +++ b/modules/cluster/mod_heartbeat.c @@ -136,7 +136,7 @@ static int hb_watchdog_step(server_rec *s, const char *name, apr_pool_t *pool) 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);