[core,client] Added logging for finalize flags
Log an error if expected finalize flags did not match what we got.
This commit is contained in:
parent
c2e8339c4b
commit
43571a3e34
@ -1863,9 +1863,17 @@ static state_run_t rdp_recv_callback_int(rdpTransport* transport, wStream* s, vo
|
|||||||
status = STATE_RUN_FAILED;
|
status = STATE_RUN_FAILED;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
char mask_buffer[256] = { 0 };
|
||||||
|
char flag_buffer[256] = { 0 };
|
||||||
|
WLog_ERR(TAG, "[%s] expected change, started with %s, got %s",
|
||||||
|
rdp_get_state_string(rdp),
|
||||||
|
rdp_finalize_flags_to_str(flags, mask_buffer, sizeof(mask_buffer)),
|
||||||
|
rdp_finalize_flags_to_str(uflags, flag_buffer, sizeof(flag_buffer)));
|
||||||
status = STATE_RUN_FAILED;
|
status = STATE_RUN_FAILED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case CONNECTION_STATE_FINALIZATION_CLIENT_COOPERATE:
|
case CONNECTION_STATE_FINALIZATION_CLIENT_COOPERATE:
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user