Return a proper error if redirection fails.

This commit is contained in:
Armin Novak 2019-08-12 12:33:06 +02:00
parent 60636a754d
commit b036fd7a7d

View File

@ -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)