From 907205090652b8cf1398d46a0784880ee281e28f Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Thu, 3 Dec 2009 12:07:20 -0800 Subject: [PATCH] cryptnet: Store the bytes actually read, not the bytes available to be read. --- dlls/cryptnet/cryptnet_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/cryptnet/cryptnet_main.c b/dlls/cryptnet/cryptnet_main.c index fef7837f23e..8b47602bca4 100644 --- a/dlls/cryptnet/cryptnet_main.c +++ b/dlls/cryptnet/cryptnet_main.c @@ -669,7 +669,7 @@ static BOOL CRYPT_DownloadObject(DWORD dwRetrievalFlags, HINTERNET hHttp, } } if (ret) - object.cbData += bytesAvailable; + object.cbData += buffer.dwBufferLength; } else {