freerdp-client: don't enable vmconnect mode based on PCB field presence in .RDP file

This commit is contained in:
Marc-André Moreau 2021-02-11 15:05:53 -05:00
parent 6b686eb834
commit 4e14e7d41e

View File

@ -1810,8 +1810,7 @@ BOOL freerdp_client_populate_settings_from_rdp_file(rdpFile* file, rdpSettings*
{
if (!freerdp_settings_set_string(settings, FreeRDP_PreconnectionBlob,
file->PreconnectionBlob) ||
!freerdp_settings_set_bool(settings, FreeRDP_SendPreconnectionPdu, TRUE) ||
!freerdp_settings_set_bool(settings, FreeRDP_VmConnectMode, TRUE))
!freerdp_settings_set_bool(settings, FreeRDP_SendPreconnectionPdu, TRUE))
return FALSE;
}