[ADVAPI32]

Fixed broken build.

svn path=/trunk/; revision=56681
This commit is contained in:
Eric Kohl 2012-05-31 14:18:59 +00:00
parent ba744e9859
commit 15425106b9

View file

@ -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;
} }