Commit 50532d8b authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

advapi32: Fix a typo in CredEnumerateW.

parent ca83f61d
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment