]> granicus.if.org Git - apache/commitdiff
Block ap_pid_table create with same define as used in mpm_common.c
authorGuenter Knauf <fuankg@apache.org>
Wed, 27 Jun 2007 13:40:19 +0000 (13:40 +0000)
committerGuenter Knauf <fuankg@apache.org>
Wed, 27 Jun 2007 13:40:19 +0000 (13:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@551163 13f79535-47bb-0310-9956-ffa450edef68

server/main.c

index f8a90a75f6eacfdcdcfe48fbee39754959aecefb..8fe4f958fbdb40541400afd33465b72d11deeb9b 100644 (file)
@@ -480,7 +480,9 @@ int main(int argc, const char * const argv[])
     ap_server_pre_read_config  = apr_array_make(pcommands, 1, sizeof(char *));
     ap_server_post_read_config = apr_array_make(pcommands, 1, sizeof(char *));
     ap_server_config_defines   = apr_array_make(pcommands, 1, sizeof(char *));
+#ifdef AP_MPM_WANT_RECLAIM_CHILD_PROCESSES
     ap_pid_table               = apr_table_make(pglobal, 1024);
+#endif
 
     error = ap_setup_prelinked_modules(process);
     if (error) {