httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@hyperreal.org
Subject cvs commit: apache-1.3/src/os/win32 service.c
Date Sun, 10 May 1998 13:03:20 GMT
pcs         98/05/10 06:03:20

  Modified:    src/os/win32 service.c
  Log:
  Report if DeleteService() fails when removing the service
  
  Revision  Changes    Path
  1.10      +4 -2      apache-1.3/src/os/win32/service.c
  
  Index: service.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/os/win32/service.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- service.c	1998/04/11 12:01:06	1.9
  +++ service.c	1998/05/10 13:03:19	1.10
  @@ -1,4 +1,4 @@
  -
  +x2
   #ifdef WIN32
   
   #include <windows.h>
  @@ -301,7 +301,9 @@
               }
   
               // now remove the service
  -            DeleteService(schService);
  +            if (DeleteService(schService) == 0)
  +		ap_log_error(APLOG_MARK, APLOG_ERR|APLOG_WIN32ERROR, NULL,
  +		    "DeleteService failed");
               CloseServiceHandle(schService);
           }
   
  
  
  

Mime
View raw message