[ADVAPI32]
authorEric Kohl <eric.kohl@reactos.org>
Sat, 28 Sep 2013 19:36:27 +0000 (19:36 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sat, 28 Sep 2013 19:36:27 +0000 (19:36 +0000)
EqualSid: Set last error to ERROR_SUCCESS before calling RtlEqualSid.

svn path=/trunk/; revision=60442

reactos/dll/win32/advapi32/sec/sid.c

index 7148647..e566927 100644 (file)
@@ -1439,6 +1439,7 @@ WINAPI
 EqualSid(PSID pSid1,
          PSID pSid2)
 {
+    SetLastError(ERROR_SUCCESS);
     return RtlEqualSid (pSid1, pSid2);
 }