[PATCH 3/5] winhttp: Fix return value for relative redirects.

Hans Leidekker hans at codeweavers.com
Thu Sep 23 07:58:28 CDT 2021


Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
 dlls/winhttp/request.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index dce3232c0e3..0155d5780fe 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -2575,6 +2575,7 @@ static DWORD handle_redirect( struct request *request, DWORD status )
         }
         free( request->path );
         request->path = path;
+        ret = ERROR_SUCCESS;
 
         send_callback( &request->hdr, WINHTTP_CALLBACK_STATUS_REDIRECT, location, len_loc + 1 );
     }
-- 
2.30.2




More information about the wine-devel mailing list