projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d5e6fa
)
libfreerdp-utils/args: fix wrong argument index for plugin name.
author
Vic Lee
<llyzs@163.com>
Tue, 2 Aug 2011 05:15:25 +0000
(13:15 +0800)
committer
Vic Lee
<llyzs@163.com>
Tue, 2 Aug 2011 05:15:25 +0000
(13:15 +0800)
libfreerdp-utils/args.c
patch
|
blob
|
history
diff --git
a/libfreerdp-utils/args.c
b/libfreerdp-utils/args.c
index
b76f4c0
..
707e158
100644
(file)
--- 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");