From 72cf120387b2e039fb6225383233fb321bed4301 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Tue, 27 Jul 1999 13:31:20 +0000 Subject: [PATCH] Fix a warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83513 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/prefork/prefork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 1d91bdc5d3..ea921a9d9d 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -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) { -- 2.40.0