Return a proper error if redirection fails.
This commit is contained in:
parent
60636a754d
commit
b036fd7a7d
@ -1576,7 +1576,8 @@ int rdp_check_fds(rdpRdp* rdp)
|
||||
|
||||
if (status == 1)
|
||||
{
|
||||
status = rdp_client_redirect(rdp); /* session redirection */
|
||||
if (!rdp_client_redirect(rdp)) /* session redirection */
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (status < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user