httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/mpm/mpmt mpmt.c
Date Sat, 08 Jul 2000 12:45:41 GMT
gstein      00/07/08 05:45:41

  Modified:    src/modules/mpm/mpmt mpmt.c
  Log:
  minor tweak to get it compile without errors(!)
  
  Revision  Changes    Path
  1.3       +7 -1      apache-2.0/src/modules/mpm/mpmt/mpmt.c
  
  Index: mpmt.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/mpmt/mpmt.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- mpmt.c	2000/07/07 18:44:50	1.2
  +++ mpmt.c	2000/07/08 12:45:40	1.3
  @@ -604,6 +604,8 @@
       if (my_info == NULL) {
           ap_log_error(APLOG_MARK, APLOG_ALERT, errno, ap_server_conf,
                        "malloc: out of memory");
  +
  +        /* ### return 0 here? */
           clean_child_exit(APEXIT_CHILDFATAL);
       }
       my_info->pid = child_num;
  @@ -622,7 +624,9 @@
              Apache running away with the CPU trying to fork over and
              over and over again if we exit. */
           sleep(10);
  -       clean_child_exit(APEXIT_CHILDFATAL);
  +
  +        /* ### return 0 here? */
  +        clean_child_exit(APEXIT_CHILDFATAL);
       }
   #else
       worker_thread(my_info);
  @@ -633,6 +637,8 @@
       /* We let each thread update it's own scoreboard entry.  This is done
        * because it let's us deal with tid better.
        */
  +
  +    return 1;
   }
   #endif
   
  
  
  

Mime
View raw message