[core,client] Added logging for finalize flags
Log an error if expected finalize flags did not match what we got.
@@ -1863,9 +1863,17 @@ static state_run_t rdp_recv_callback_int(rdpTransport* transport, wStream* s, vo
status = STATE_RUN_FAILED;
}
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;
}
}
+ }
break;
case CONNECTION_STATE_FINALIZATION_CLIENT_COOPERATE:
{
