Merge pull request #5558 from akallabeth/drive_hotplug_name
Allow /drive:<name>,* syntax.:wq
This commit is contained in:
commit
875198c4df
@ -125,9 +125,6 @@ static BOOL freerdp_client_add_drive(rdpSettings* settings, const char* path, co
|
|||||||
BOOL isSpecial = FALSE;
|
BOOL isSpecial = FALSE;
|
||||||
BOOL isPath = freerdp_path_valid(path, &isSpecial);
|
BOOL isPath = freerdp_path_valid(path, &isSpecial);
|
||||||
|
|
||||||
if (isSpecial && name)
|
|
||||||
goto fail;
|
|
||||||
|
|
||||||
if ((!isPath && !isSpecial) || !(drive->Path = _strdup(path)))
|
if ((!isPath && !isSpecial) || !(drive->Path = _strdup(path)))
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user