httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r202265 - /httpd/httpd/branches/2.0.x/support/win32/ApacheMonitor.c
Date Tue, 28 Jun 2005 18:44:48 GMT
Author: wrowe
Date: Tue Jun 28 11:44:46 2005
New Revision: 202265

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

  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.

Modified:
    httpd/httpd/branches/2.0.x/support/win32/ApacheMonitor.c

Modified: httpd/httpd/branches/2.0.x/support/win32/ApacheMonitor.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/support/win32/ApacheMonitor.c?rev=202265&r1=202264&r2=202265&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/support/win32/ApacheMonitor.c (original)
+++ httpd/httpd/branches/2.0.x/support/win32/ApacheMonitor.c Tue Jun 28 11:44:46 2005
@@ -998,7 +998,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