Hans Leidekker : winhttp: Reset the content read counter.

Alexandre Julliard julliard at winehq.org
Tue Apr 30 12:51:27 CDT 2013


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Apr 30 11:31:30 2013 +0200

winhttp: Reset the content read counter.

---

 dlls/winhttp/request.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index f14f22b..bab576e 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -1494,6 +1494,7 @@ static DWORD set_content_length( request_t *request )
         request->content_length = ~0u;
         request->read_chunked = TRUE;
     }
+    request->content_read = 0;
     return request->content_length;
 }
 




More information about the wine-cvs mailing list