]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Get the beos mpm building again following the recent addition of the
authorDavid Reid <dreid@apache.org>
Sun, 4 Mar 2001 18:13:32 +0000 (18:13 +0000)
committerDavid Reid <dreid@apache.org>
Sun, 4 Mar 2001 18:13:32 +0000 (18:13 +0000)
MPM query API.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88451 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/beos/beos.c

index 3d3c7ac6c7c393a8dc2090e4fbd92d3b3d3fc295..a9ebc3fdaa1962ba7b54afb1099b821742fce68a 100644 (file)
@@ -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;