Commit 34196ded authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Commit a trivial patch which permits Apache 2.0's ApacheMonitor
  to browse Apache 1.3, 2.0 and now, 2.1+ installed httpd services.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@202265 13f79535-47bb-0310-9956-ffa450edef68
parent 130b63c1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -998,7 +998,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))