1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Use correct check logic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759849 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mladen Turk
2009-03-30 06:38:14 +00:00
parent 09ca3bc6bf
commit e897431506

View File

@@ -136,7 +136,7 @@ static int hb_watchdog_step(server_rec *s, const char *name, apr_pool_t *pool)
apr_status_t rv; apr_status_t rv;
hb_ctx_t *ctx = ap_get_module_config(s->module_config, &heartbeat_module); 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 OK;
} }
return hb_monitor(ctx, pool); return hb_monitor(ctx, pool);