httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/prefork prefork.c
Date Wed, 03 Apr 2002 13:38:06 GMT
trawick     02/04/03 05:38:06

  Modified:    server/mpm/prefork prefork.c
  Log:
  style change only
  
  Revision  Changes    Path
  1.258     +8 -8      httpd-2.0/server/mpm/prefork/prefork.c
  
  Index: prefork.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/prefork/prefork.c,v
  retrieving revision 1.257
  retrieving revision 1.258
  diff -u -r1.257 -r1.258
  --- prefork.c	29 Mar 2002 14:33:50 -0000	1.257
  +++ prefork.c	3 Apr 2002 13:38:06 -0000	1.258
  @@ -1211,15 +1211,15 @@
       if (restart_num++ == 1) {
   	is_graceful = 0;
   
  -    if (!one_process) {
  -        rv = apr_proc_detach(no_detach ? APR_PROC_DETACH_FOREGROUND
  -                                       : APR_PROC_DETACH_DAEMONIZE);
  -        if (rv != APR_SUCCESS) {
  -            ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL,
  -                         "apr_proc_detach failed");
  -            return HTTP_INTERNAL_SERVER_ERROR;
  +        if (!one_process) {
  +            rv = apr_proc_detach(no_detach ? APR_PROC_DETACH_FOREGROUND
  +                                           : APR_PROC_DETACH_DAEMONIZE);
  +            if (rv != APR_SUCCESS) {
  +                ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL,
  +                             "apr_proc_detach failed");
  +                return HTTP_INTERNAL_SERVER_ERROR;
  +            }
           }
  -    }
   
   	parent_pid = ap_my_pid = getpid();
       }
  
  
  

Mime
View raw message