Merge pull request #5518 from akallabeth/redirect_error_propagation_fix
Return a proper error if redirection fails.
This commit is contained in:
commit
eee4d43d28
@ -1576,7 +1576,8 @@ int rdp_check_fds(rdpRdp* rdp)
|
|||||||
|
|
||||||
if (status == 1)
|
if (status == 1)
|
||||||
{
|
{
|
||||||
status = rdp_client_redirect(rdp); /* session redirection */
|
if (!rdp_client_redirect(rdp)) /* session redirection */
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (status < 0)
|
if (status < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user