[PATCH 1/7] wininet: Fix HTTP redirects by reseting loop_next after
one loop.
Robert Shearman
rob at codeweavers.com
Thu Jan 4 12:21:13 CST 2007
---
dlls/wininet/http.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
-------------- next part --------------
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index 813d99e..c18e45e 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -2225,7 +2225,7 @@ BOOL WINAPI HTTP_HttpSendRequestW(LPWINI
BOOL bSuccess = FALSE;
LPWSTR requestString = NULL;
INT responseLen;
- BOOL loop_next = FALSE;
+ BOOL loop_next;
INTERNET_ASYNC_RESULT iar;
TRACE("--> %p\n", lpwhr);
@@ -2253,6 +2253,8 @@ BOOL WINAPI HTTP_HttpSendRequestW(LPWINI
DWORD len;
char *ascii_req;
+ loop_next = FALSE;
+
if (TRACE_ON(wininet))
{
LPHTTPHEADERW Host = HTTP_GetHeader(lpwhr,szHost);
More information about the wine-patches
mailing list