winhttp: Fix return value for relative redirects.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit ec46607ee0
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
parent
ddd57141e1
commit
73e998ab02
|
@ -2570,6 +2570,7 @@ static DWORD handle_redirect( struct request *request, DWORD status )
|
|||
}
|
||||
heap_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