]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Use Ben Hyde's warning fix on two other MPMs.
authorManoj Kasichainula <manoj@apache.org>
Thu, 29 Jul 1999 20:06:20 +0000 (20:06 +0000)
committerManoj Kasichainula <manoj@apache.org>
Thu, 29 Jul 1999 20:06:20 +0000 (20:06 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83529 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/dexter/dexter.c
server/mpm/mpmt_pthread/mpmt_pthread.c

index 65d0452e8fbabee70e7b2e08beda5626bc115395..dd38197956ed4afb2644863fa2e83bf57e23f37c 100644 (file)
@@ -1447,7 +1447,7 @@ static void dexter_pre_config(pool *pconf, pool *plog, pool *ptemp)
 {
     static int restart_num = 0;
 
-    one_process = getenv("ONE_PROCESS");
+    one_process = !!getenv("ONE_PROCESS");
 
     /* sigh, want this only the second time around */
     if (restart_num++ == 1) {
index b4f3acfb81104a5ffa230e8aaeb5f760a5b9ca5d..34ecea29971820838476eef2706ced620db21f7b 100644 (file)
@@ -1508,7 +1508,7 @@ static void mpmt_pthread_pre_config(pool *pconf, pool *plog, pool *ptemp)
 {
     static int restart_num = 0;
 
-    one_process = getenv("ONE_PROCESS");
+    one_process = !!getenv("ONE_PROCESS");
 
     /* sigh, want this only the second time around */
     if (restart_num++ == 1) {