advapi32: Fix a typo in CredEnumerateW.
This commit is contained in:
parent
ca83f61d2e
commit
50532d8b4d
|
@ -832,7 +832,7 @@ BOOL WINAPI CredEnumerateW(LPCWSTR Filter, DWORD Flags, DWORD *Count,
|
|||
SetLastError(ret);
|
||||
return FALSE;
|
||||
}
|
||||
len += *Count + sizeof(PCREDENTIALW);
|
||||
len += *Count * sizeof(PCREDENTIALW);
|
||||
|
||||
if (ret == ERROR_SUCCESS)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue