From: Manoj Kasichainula Date: Thu, 29 Jul 1999 20:06:20 +0000 (+0000) Subject: Use Ben Hyde's warning fix on two other MPMs. X-Git-Tag: mpm-merge-1~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a098e1a0342a07e68a0c6d5faf43169cccbd6448;p=thirdparty%2Fapache%2Fhttpd.git Use Ben Hyde's warning fix on two other MPMs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83529 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/dexter/dexter.c b/server/mpm/dexter/dexter.c index 65d0452e8fb..dd38197956e 100644 --- a/server/mpm/dexter/dexter.c +++ b/server/mpm/dexter/dexter.c @@ -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) { diff --git a/server/mpm/mpmt_pthread/mpmt_pthread.c b/server/mpm/mpmt_pthread/mpmt_pthread.c index b4f3acfb811..34ecea29971 100644 --- a/server/mpm/mpmt_pthread/mpmt_pthread.c +++ b/server/mpm/mpmt_pthread/mpmt_pthread.c @@ -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) {