httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/support/win32 ApacheMonitor.c
Date Mon, 19 Nov 2001 15:27:53 GMT
wrowe       01/11/19 07:27:53

  Modified:    support/win32 ApacheMonitor.c
  Log:
    Historically consistent flag to shutdown the server [stop is supported,
    but only more recently.]
  
  Revision  Changes    Path
  1.15      +2 -2      httpd-2.0/support/win32/ApacheMonitor.c
  
  Index: ApacheMonitor.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/win32/ApacheMonitor.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ApacheMonitor.c	2001/10/06 18:59:07	1.14
  +++ ApacheMonitor.c	2001/11/19 15:27:52	1.15
  @@ -591,7 +591,7 @@
               switch (dwCommand)
               {
               case SERVICE_CONTROL_STOP:
  -                lstrcat(szBuf, " -k stop -n ");
  +                lstrcat(szBuf, " -k shutdown -n ");
                   break;
               case SERVICE_CONTROL_CONTINUE:
                   sprintf(szMsg, g_lpMsg[IDS_MSG_SRVSTART-IDS_MSG_FIRST], szServiceName);
  @@ -820,7 +820,7 @@
       return FALSE;
   }
   
  -BOOL FindRunningServices()
  +BOOL FindRunningServices(void)
   {
       int i = 0;
       DWORD dwPid;
  
  
  

Mime
View raw message