httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r159627 - httpd/httpd/trunk/support/win32/ApacheMonitor.c
Date Thu, 31 Mar 2005 19:05:12 GMT
Author: wrowe
Date: Thu Mar 31 11:05:11 2005
New Revision: 159627

URL: http://svn.apache.org/viewcvs?view=rev&rev=159627
Log:

  httpd and Apache are both anticipated now.

Modified:
    httpd/httpd/trunk/support/win32/ApacheMonitor.c

Modified: httpd/httpd/trunk/support/win32/ApacheMonitor.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/support/win32/ApacheMonitor.c?view=diff&r1=159626&r2=159627
==============================================================================
--- httpd/httpd/trunk/support/win32/ApacheMonitor.c (original)
+++ httpd/httpd/trunk/support/win32/ApacheMonitor.c Thu Mar 31 11:05:11 2005
@@ -997,8 +997,9 @@
                     {
                         lstrcpy(szBuf, szImagePath);
                         CharLower(szBuf);
-                        /* the service name could be Apache*.exe */
-                        if ((strstr(szBuf, "\\apache") != NULL)
+                        /* the service name could be httpd*.exe or Apache*.exe */
+                        if (((strstr(szBuf, "\\apache") != NULL)
+                             || (strstr(szBuf, "\\httpd") != NULL))
                                 && strstr(szBuf, ".exe") 
                                 && (strstr(szBuf, "--ntservice") != NULL 
                                        || strstr(szBuf, "-k ") != NULL))



Mime
View raw message