From 05e6d857af5d1dbf7d79e698d9156c2714305645 Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Tue, 2 Aug 2011 13:15:25 +0800 Subject: [PATCH] libfreerdp-utils/args: fix wrong argument index for plugin name. --- libfreerdp-utils/args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp-utils/args.c b/libfreerdp-utils/args.c index b76f4c0d4..707e158ea 100644 --- a/libfreerdp-utils/args.c +++ b/libfreerdp-utils/args.c @@ -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");