Stefan Leichter : advapi32: Silence the fixme in EventActivityIdControl.

Alexandre Julliard julliard at winehq.org
Tue Jun 26 04:44:26 CDT 2018


Module: wine
Branch: stable
Commit: de8f623827c54b135bb4c7730d872f72823b508e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=de8f623827c54b135bb4c7730d872f72823b508e

Author: Stefan Leichter <sle85276 at gmx.de>
Date:   Sun Mar 25 10:29:39 2018 +0200

advapi32: Silence the fixme in EventActivityIdControl.

Signed-off-by: Stefan Leichter <sle85276 at gmx.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit bae48da7c5e16ec5b1a6e3db48e2eaaec7515db8)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/advapi32/eventlog.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dlls/advapi32/eventlog.c b/dlls/advapi32/eventlog.c
index 34a21c8..fbab8e8 100644
--- a/dlls/advapi32/eventlog.c
+++ b/dlls/advapi32/eventlog.c
@@ -830,7 +830,9 @@ BOOLEAN WINAPI EventProviderEnabled( REGHANDLE handle, UCHAR level, ULONGLONG ke
  */
 ULONG WINAPI EventActivityIdControl(ULONG code, GUID *guid)
 {
-    FIXME("0x%x, %p: stub\n", code, guid);
+    static int once;
+
+    if (!once++) FIXME("0x%x, %p: stub\n", code, guid);
     return ERROR_SUCCESS;
 }
 




More information about the wine-cvs mailing list