From aa5df385fd605352f4089c1edac80193354de67c Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Fri, 19 Apr 2002 19:19:44 +0000 Subject: [PATCH] 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 Reviewed by: Mladen Turk, William Rowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94723 13f79535-47bb-0310-9956-ffa450edef68 --- support/win32/ApacheMonitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/win32/ApacheMonitor.c b/support/win32/ApacheMonitor.c index 2a54fadee3..dcc7d1e112 100644 --- a/support/win32/ApacheMonitor.c +++ b/support/win32/ApacheMonitor.c @@ -1492,7 +1492,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, { 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 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, { 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; } -- 2.50.1