[core] properly pass redirection return code

If a redirection packet is receivet pass the appropriate return
code through the call stack to let the client take action
This commit is contained in:
akallabeth 2022-11-11 09:00:23 +01:00 committed by Martin Fleisz
parent 98cf410144
commit 872f52c014
1 changed files with 2 additions and 0 deletions

View File

@ -1812,6 +1812,8 @@ static int rdp_recv_callback_int(rdpTransport* transport, wStream* s, void* extr
"%s: %s - "
"rdp_client_connect_demand_active() - %i",
__FUNCTION__, rdp_get_state_string(rdp), status);
else if (status == 1)
status = 1;
else
{
if (!rdp->settings->SupportMonitorLayoutPdu)