From c8d0d506108b1a4f9beb3a187f41ecab99c4c0c1 Mon Sep 17 00:00:00 2001 From: Martin Fleisz Date: Mon, 29 Jul 2019 16:37:06 +0200 Subject: [PATCH] common: Fix parsing of devicestoredirect setting in rdp files If devicestoredirect was found in an rdp file we incorrectly enabled drive redirection (which has nothing to do with device redirection). --- client/common/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/common/file.c b/client/common/file.c index eb94c33..56a42f1 100644 --- a/client/common/file.c +++ b/client/common/file.c @@ -1562,7 +1562,7 @@ BOOL freerdp_client_populate_settings_from_rdp_file(rdpFile* file, rdpSettings* * devicestoredirect:s:USB\VID_04A9&PID_30C1\6&4BD985D&0&2;,DynamicDevices * */ - if (!freerdp_settings_set_bool(settings, FreeRDP_RedirectDrives, TRUE)) + if (!freerdp_settings_set_bool(settings, FreeRDP_DeviceRedirection, TRUE)) return FALSE; } -- 2.7.4