Merge pull request #6810 from awakecoding/pcb-no-vmconnect

Don't enable vmconnect mode based on PCB field presence
This commit is contained in:
Martin Fleisz 2021-02-12 11:09:12 +01:00 committed by GitHub
commit e0d684e3e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}