wininet: Fix HTTP redirects by reseting loop_next after one loop.

This commit is contained in:
Rob Shearman 2007-01-04 18:21:13 +00:00 committed by Alexandre Julliard
parent 7e1fead3fb
commit 14fb418942
1 changed files with 3 additions and 1 deletions

View File

@ -2225,7 +2225,7 @@ BOOL WINAPI HTTP_HttpSendRequestW(LPWININETHTTPREQW lpwhr, LPCWSTR lpszHeaders,
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(LPWININETHTTPREQW lpwhr, LPCWSTR lpszHeaders,
DWORD len;
char *ascii_req;
loop_next = FALSE;
if (TRACE_ON(wininet))
{
LPHTTPHEADERW Host = HTTP_GetHeader(lpwhr,szHost);