Module: wine Branch: master Commit: 907205090652b8cf1398d46a0784880ee281e28f URL: http://source.winehq.org/git/wine.git/?a=commit;h=907205090652b8cf1398d46a07... Author: Juan Lang <juan.lang(a)gmail.com> Date: Thu Dec 3 12:07:20 2009 -0800 cryptnet: Store the bytes actually read, not the bytes available to be read. --- dlls/cryptnet/cryptnet_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/cryptnet/cryptnet_main.c b/dlls/cryptnet/cryptnet_main.c index fef7837..8b47602 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 {