Austin English : advapi32: Only show NotifyServiceStatusChangeW FIXME once.
Module: wine Branch: master Commit: e2283db410562273feb297748eeb4f151d4c3e18 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e2283db410562273feb297748e... Author: Austin English <austinenglish(a)gmail.com> Date: Thu Aug 31 11:50:25 2017 -0500 advapi32: Only show NotifyServiceStatusChangeW FIXME once. Signed-off-by: Austin English <austinenglish(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/advapi32/service.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/advapi32/service.c b/dlls/advapi32/service.c index 1150805..fa6ebfe 100644 --- a/dlls/advapi32/service.c +++ b/dlls/advapi32/service.c @@ -2427,8 +2427,9 @@ DWORD WINAPI NotifyServiceStatusChangeW(SC_HANDLE hService, DWORD dwNotifyMask, DWORD dummy; BOOL ret; SERVICE_STATUS_PROCESS st; + static int once; - FIXME("%p 0x%x %p - semi-stub\n", hService, dwNotifyMask, pNotifyBuffer); + if (!once++) FIXME("%p 0x%x %p - semi-stub\n", hService, dwNotifyMask, pNotifyBuffer); ret = QueryServiceStatusEx(hService, SC_STATUS_PROCESS_INFO, (void*)&st, sizeof(st), &dummy); if (ret)
participants (1)
-
Alexandre Julliard