Merge pull request #1776 from maksqwe/fix_console_parallel_cmd_args_parse
fix check args count for 'parallel' cmd
This commit is contained in:
commit
aa466a85e0
@ -407,7 +407,7 @@ int freerdp_client_add_device_channel(rdpSettings* settings, int count, char** p
|
||||
if (count > 1)
|
||||
parallel->Name = _strdup(params[1]);
|
||||
|
||||
if (count > 1)
|
||||
if (count > 2)
|
||||
parallel->Path = _strdup(params[2]);
|
||||
|
||||
freerdp_device_collection_add(settings, (RDPDR_DEVICE*) parallel);
|
||||
|
Loading…
Reference in New Issue
Block a user