]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix a warning.
authorBen Laurie <ben@apache.org>
Tue, 27 Jul 1999 13:31:20 +0000 (13:31 +0000)
committerBen Laurie <ben@apache.org>
Tue, 27 Jul 1999 13:31:20 +0000 (13:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83513 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/prefork/prefork.c

index 1d91bdc5d38638f9aabb8f71fa89129f3f627852..ea921a9d9dac1bf29680867a36257ffa85f50c37 100644 (file)
@@ -2872,7 +2872,7 @@ static void prefork_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) {