]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
httpd and Apache are both anticipated now.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 31 Mar 2005 19:05:11 +0000 (19:05 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 31 Mar 2005 19:05:11 +0000 (19:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@159627 13f79535-47bb-0310-9956-ffa450edef68

support/win32/ApacheMonitor.c

index 78579e07f3f6c8007b48754d881de46c7fbe7fb4..a35313ba78dfcb8643bba5245b0c7b2833382bb8 100644 (file)
@@ -997,8 +997,9 @@ BOOL GetApacheServicesStatus()
                     {
                         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))