From: Yann Ylavic Date: Tue, 7 Oct 2014 15:35:56 +0000 (+0000) Subject: core: follow up to r1629909: ap_daemons_to_start can't be lower than 1 (not 0) for... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae292131983615334db9243c483660d66d9685d4;p=thirdparty%2Fapache%2Fhttpd.git core: follow up to r1629909: ap_daemons_to_start can't be lower than 1 (not 0) for prefork either. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1629916 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 318d5de0f39..010ac93d937 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -1486,7 +1486,7 @@ static int prefork_check_config(apr_pool_t *p, apr_pool_t *plog, } /* ap_daemons_to_start > ap_daemons_limit checked in prefork_run() */ - if (ap_daemons_to_start < 0) { + if (ap_daemons_to_start < 1) { if (startup) { ap_log_error(APLOG_MARK, APLOG_WARNING | APLOG_STARTUP, 0, NULL, APLOGNO(00184) "WARNING: StartServers of %d not allowed, "