manoj       99/07/29 13:06:20

  Modified:    mpm/src/modules/mpm/dexter dexter.c
               mpm/src/modules/mpm/mpmt_pthread mpmt_pthread.c
  Log:
  Use Ben Hyde's warning fix on two other MPMs.
  
  Revision  Changes    Path
  1.11      +1 -1      apache-2.0/mpm/src/modules/mpm/dexter/dexter.c
  
  Index: dexter.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/mpm/src/modules/mpm/dexter/dexter.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -d -u -r1.10 -r1.11
  --- dexter.c  1999/07/27 23:54:16     1.10
  +++ dexter.c  1999/07/29 20:06:19     1.11
  @@ -1447,7 +1447,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) {
  
  
  
  1.16      +1 -1      
apache-2.0/mpm/src/modules/mpm/mpmt_pthread/mpmt_pthread.c
  
  Index: mpmt_pthread.c
  ===================================================================
  RCS file: 
/home/cvs/apache-2.0/mpm/src/modules/mpm/mpmt_pthread/mpmt_pthread.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -d -u -r1.15 -r1.16
  --- mpmt_pthread.c    1999/07/28 22:35:42     1.15
  +++ mpmt_pthread.c    1999/07/29 20:06:20     1.16
  @@ -1508,7 +1508,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) {
  
  
  

Reply via email to