wininet: Properly drain content for chunked transfers.

This commit is contained in:
Hans Leidekker 2009-02-13 09:15:48 +01:00 committed by Alexandre Julliard
parent 11faf8a53a
commit 8f1a3e4e1f
1 changed files with 1 additions and 1 deletions

View File

@ -2148,7 +2148,7 @@ static void HTTP_DrainContent(WININETHTTPREQW *req)
do
{
char buffer[2048];
if (HTTP_Read(req, buffer, sizeof(buffer), &bytes_read, TRUE) != ERROR_SUCCESS)
if (HTTPREQ_Read(req, buffer, sizeof(buffer), &bytes_read, TRUE) != ERROR_SUCCESS)
return;
} while (bytes_read);
}