advapi32: Fix a typo in CredEnumerateW.

This commit is contained in:
Rob Shearman 2007-11-26 19:41:00 +00:00 committed by Alexandre Julliard
parent ca83f61d2e
commit 50532d8b4d
1 changed files with 1 additions and 1 deletions

View File

@ -832,7 +832,7 @@ BOOL WINAPI CredEnumerateW(LPCWSTR Filter, DWORD Flags, DWORD *Count,
SetLastError(ret); SetLastError(ret);
return FALSE; return FALSE;
} }
len += *Count + sizeof(PCREDENTIALW); len += *Count * sizeof(PCREDENTIALW);
if (ret == ERROR_SUCCESS) if (ret == ERROR_SUCCESS)
{ {