Hans Leidekker : wininet: Properly drain content for chunked transfers.

Alexandre Julliard julliard at winehq.org
Fri Feb 13 08:59:18 CST 2009


Module: wine
Branch: master
Commit: 8f1a3e4e1f602a097172795e6a3dc455d0cbf097
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8f1a3e4e1f602a097172795e6a3dc455d0cbf097

Author: Hans Leidekker <hans at meelstraat.net>
Date:   Fri Feb 13 09:15:48 2009 +0100

wininet: Properly drain content for chunked transfers.

---

 dlls/wininet/http.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index 7d4f8a6..bf1e1bd 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -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);
 }




More information about the wine-cvs mailing list