winhttp: Fix return value for relative redirects.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5da1d59241
commit
ec46607ee0
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue