[pkg-wine-party] [wine] 281/465: advapi32: Only show NotifyServiceStatusChangeW FIXME once.

Michael Gilbert mgilbert at moszumanska.debian.org
Sun Sep 17 19:08:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

mgilbert pushed a commit to branch master
in repository wine.

commit e2283db410562273feb297748eeb4f151d4c3e18
Author: Austin English <austinenglish at gmail.com>
Date:   Thu Aug 31 11:50:25 2017 -0500

    advapi32: Only show NotifyServiceStatusChangeW FIXME once.
    
    Signed-off-by: Austin English <austinenglish at gmail.com>
    Signed-off-by: Alexandre Julliard <julliard at 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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



More information about the pkg-wine-party mailing list