cryptnet: Store the bytes actually read, not the bytes available to be read.

This commit is contained in:
Juan Lang 2009-12-03 12:07:20 -08:00 committed by Alexandre Julliard
parent 3a55f964b9
commit 9072050906
1 changed files with 1 additions and 1 deletions

View File

@ -669,7 +669,7 @@ static BOOL CRYPT_DownloadObject(DWORD dwRetrievalFlags, HINTERNET hHttp,
}
}
if (ret)
object.cbData += bytesAvailable;
object.cbData += buffer.dwBufferLength;
}
else
{