libfreerdp-utils/args: fix wrong argument index for plugin name.
This commit is contained in:
parent
2d5e6fa255
commit
05e6d857af
@ -271,8 +271,8 @@ int freerdp_parse_args(rdpSettings* settings, int argc, char** argv,
|
||||
}
|
||||
else if (strcmp("--plugin", argv[index]) == 0)
|
||||
{
|
||||
t = index;
|
||||
index++;
|
||||
t = index;
|
||||
if (index == argc)
|
||||
{
|
||||
printf("missing plugin name\n");
|
||||
|
Loading…
Reference in New Issue
Block a user