Merge pull request #3871 from akallabeth/logon_error_info_log

Print logon error info.
This commit is contained in:
Martin Fleisz 2017-03-20 11:21:58 +01:00 committed by GitHub
commit aece09042f

View File

@ -1312,6 +1312,10 @@ static void xf_post_disconnect(freerdp* instance)
static int xf_logon_error_info(freerdp* instance, UINT32 data, UINT32 type)
{
xfContext* xfc = (xfContext*) instance->context;
const char *str_data = freerdp_get_logon_error_info_data(data);
const char *str_type = freerdp_get_logon_error_info_type(type);
WLog_INFO(TAG, "Logon Error Info %s [%s]", str_data, str_type);
xf_rail_disable_remoteapp_mode(xfc);
return 1;
}