Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 64329 invoked by uid 500); 19 Apr 2002 19:19:42 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 64318 invoked by uid 500); 19 Apr 2002 19:19:42 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 19 Apr 2002 19:19:44 -0000 Message-ID: <20020419191944.51561.qmail@icarus.apache.org> From: wrowe@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/support/win32 ApacheMonitor.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 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; }