From: Rainer Jung Date: Tue, 21 Jun 2022 10:10:29 +0000 (+0000) Subject: Fix numeric check for HeartbeatMaxServers. X-Git-Tag: 2.5.0-alpha2-ci-test-only~283 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df3ba890a929984811c8d0874c5192a9ecf38af8;p=thirdparty%2Fapache%2Fhttpd.git Fix numeric check for HeartbeatMaxServers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1902130 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c index d3d09f76c29..53b650469d7 100644 --- a/modules/cluster/mod_heartmonitor.c +++ b/modules/cluster/mod_heartmonitor.c @@ -892,7 +892,7 @@ static const char *cmd_hm_maxworkers(cmd_parms *cmd, } maxworkers = atoi(data); - if (maxworkers != 0 && maxworkers <= 10) + if (maxworkers != 0 && maxworkers < 10) return "HeartbeatMaxServers: Should be 0 for file storage, " "or greater or equal than 10 for slotmem";