From: Ben Laurie Date: Tue, 27 Jul 1999 13:31:20 +0000 (+0000) Subject: Fix a warning. X-Git-Tag: 1.3.7~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72cf120387b2e039fb6225383233fb321bed4301;p=thirdparty%2Fapache%2Fhttpd.git Fix a warning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83513 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 1d91bdc5d38..ea921a9d9da 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) {