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

(cherry picked from commit 4e14e7d41e)
This commit is contained in:
Marc-André Moreau 2021-02-11 15:05:53 -05:00 committed by akallabeth
parent fba23b8ef7
commit 3047a73744

View File

@ -1772,8 +1772,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;
}