You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2002/04/19 21:19:44 UTC
cvs commit: httpd-2.0/support/win32 ApacheMonitor.c
wrowe 02/04/19 12:19:44
Modified: support/win32 ApacheMonitor.c
Log:
Fix Restart and Stop from the service taskbar list.
PR: 7930
Obtained from: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7930
Submitted by: David Shane Holden <dp...@yahoo.com>
Reviewed by: Mladen Turk, William Rowe
Revision Changes Path
1.18 +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.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ApacheMonitor.c 13 Mar 2002 20:48:06 -0000 1.17
+++ ApacheMonitor.c 19 Apr 2002 19:19:44 -0000 1.18
@@ -1492,7 +1492,7 @@
{
ApacheManageService(g_stServices[LOWORD(wParam) - IDM_SM_STOP].szServiceName,
g_stServices[LOWORD(wParam) - IDM_SM_STOP].szImagePath,
- g_stServices[LOWORD(wParam) - IDM_SM_START].szComputerName,
+ g_stServices[LOWORD(wParam) - IDM_SM_STOP].szComputerName,
SERVICE_CONTROL_STOP);
return TRUE;
}
@@ -1500,7 +1500,7 @@
{
ApacheManageService(g_stServices[LOWORD(wParam) - IDM_SM_RESTART].szServiceName,
g_stServices[LOWORD(wParam) - IDM_SM_RESTART].szImagePath,
- g_stServices[LOWORD(wParam) - IDM_SM_START].szComputerName,
+ g_stServices[LOWORD(wParam) - IDM_SM_RESTART].szComputerName,
SERVICE_APACHE_RESTART);
return TRUE;
}