mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 01:13:38 +00:00
[ADVAPI32]
Fixed broken build. svn path=/trunk/; revision=56681
This commit is contained in:
parent
ba744e9859
commit
15425106b9
|
@ -404,7 +404,6 @@ GetUserSid(LPCWSTR UserName,
|
||||||
ULONG ulUserRid;
|
ULONG ulUserRid;
|
||||||
DWORD dwLength;
|
DWORD dwLength;
|
||||||
HKEY hNamesKey = NULL;
|
HKEY hNamesKey = NULL;
|
||||||
LONG lError;
|
|
||||||
BOOL bResult = TRUE;
|
BOOL bResult = TRUE;
|
||||||
|
|
||||||
if (!GetAccountDomainSid(&AccountDomainSid))
|
if (!GetAccountDomainSid(&AccountDomainSid))
|
||||||
|
@ -433,7 +432,7 @@ GetUserSid(LPCWSTR UserName,
|
||||||
(LPBYTE)&ulUserRid,
|
(LPBYTE)&ulUserRid,
|
||||||
&dwLength))
|
&dwLength))
|
||||||
{
|
{
|
||||||
ERR("Failed to read the SID! (Error %ld)\n", lError);
|
ERR("Failed to read the SID! (Error %ld)\n", GetLastError());
|
||||||
bResult = FALSE;
|
bResult = FALSE;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue