ben 99/07/27 06:31:21
Modified: mpm/src/modules/mpm/prefork prefork.c
Log:
Fix a warning.
Revision Changes Path
1.20 +1 -1 apache-2.0/mpm/src/modules/mpm/prefork/prefork.c
Index: prefork.c
===================================================================
RCS file: /export/home/cvs/apache-2.0/mpm/src/modules/mpm/prefork/prefork.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- prefork.c 1999/07/27 12:05:04 1.19
+++ prefork.c 1999/07/27 13:31:20 1.20
@@ -2872,7 +2872,7 @@
{
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) {