From b2b55733ee1784707ee2b8a16674bb7550c59dcf Mon Sep 17 00:00:00 2001 From: Jean-Frederic Clere Date: Wed, 8 Apr 2009 09:12:32 +0000 Subject: [PATCH] =?utf8?q?Remove=20the=20C++=20style=20comment=20and=20use?= =?utf8?q?=201=20for=20keep=5Frunning.=20(Thanks=20R=C3=BCdiger).?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@763151 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cluster/mod_heartmonitor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c index 315d7eec1e..9d1ab509df 100644 --- a/modules/cluster/mod_heartmonitor.c +++ b/modules/cluster/mod_heartmonitor.c @@ -317,7 +317,7 @@ static apr_status_t hm_watchdog_callback(int state, void *data, "Heartmonitor: Unable to listen for connections!"); } else { - ctx->keep_running = -1; + ctx->keep_running = 1; ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ctx->s, "Heartmonitor: %s listener started.", HM_WATHCHDOG_NAME); @@ -343,7 +343,6 @@ static apr_status_t hm_watchdog_callback(int state, void *data, pfd.p = p; pfd.reqevents = APR_POLLIN; - // timeout = apr_time_from_sec((apr_time_sec(ctx->interval) - now + cur)>1 ? (apr_time_sec(ctx->interval) - now + cur) : 1); timeout = apr_time_from_sec(1); rc = apr_poll(&pfd, 1, &n, timeout); -- 2.40.0