]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix numeric check for HeartbeatMaxServers.
authorRainer Jung <rjung@apache.org>
Tue, 21 Jun 2022 10:10:29 +0000 (10:10 +0000)
committerRainer Jung <rjung@apache.org>
Tue, 21 Jun 2022 10:10:29 +0000 (10:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1902130 13f79535-47bb-0310-9956-ffa450edef68

modules/cluster/mod_heartmonitor.c

index d3d09f76c294d9c687284fd82e809cc392027263..53b650469d76189a0be1dec3b10219a67781dbbe 100644 (file)
@@ -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";