]> granicus.if.org Git - apache/commitdiff
one_process is not a global variable
authorMartin Kraemer <martin@apache.org>
Mon, 8 Sep 2003 16:39:46 +0000 (16:39 +0000)
committerMartin Kraemer <martin@apache.org>
Mon, 8 Sep 2003 16:39:46 +0000 (16:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101197 13f79535-47bb-0310-9956-ffa450edef68

os/unix/unixd.c

index 595d6f6777a628b688b04d1dbf964380f54c73d7..5f19f48217acdee7129b6ce7407d6b9be4ba07f5 100644 (file)
@@ -176,7 +176,7 @@ AP_DECLARE(int) unixd_setup_child(void)
     /* Only try to switch if we're running as root */
     if (!geteuid() && (
 #ifdef _OSD_POSIX
-       os_init_job_environment(server_conf, unixd_config.user_name, one_process) != 0 || 
+       os_init_job_environment(NULL, unixd_config.user_name, ap_exists_config_define("DEBUG")) != 0 ||
 #endif
        setuid(unixd_config.user_id) == -1)) {
        ap_log_error(APLOG_MARK, APLOG_ALERT, errno, NULL,