From: David Reid Date: Sun, 4 Mar 2001 18:13:32 +0000 (+0000) Subject: Get the beos mpm building again following the recent addition of the X-Git-Tag: 2.0.14~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c68c4d0bf631d1e72c23ffd4da3642317143f0a6;p=thirdparty%2Fapache%2Fhttpd.git Get the beos mpm building again following the recent addition of the MPM query API. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88451 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/beos/beos.c b/server/mpm/beos/beos.c index 3d3c7ac6c7c..a9ebc3fdaa1 100644 --- a/server/mpm/beos/beos.c +++ b/server/mpm/beos/beos.c @@ -632,13 +632,13 @@ AP_DECLARE(apr_status_t) ap_mpm_query(int query_code, int *result) { switch(query_code){ case AP_MPMQ_MAX_DAEMONS: - *result = ap_max_daemons_limit; + *result = ap_max_child_assigned; return APR_SUCCESS; case AP_MPMQ_IS_THREADED: *result = 1; return APR_SUCCESS; case AP_MPMQ_IS_FORKED: - *result = 1; + *result = 0; return APR_SUCCESS; } return APR_ENOTIMPL;