aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-02 13:17:03 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-02 13:17:08 +0200
commit77557e6dd153876b63b675b73bfe668b9ceff19c (patch)
treedd86a8f78bf8ac1e0c5c654807e6f94a37de84e2 /src
parent4c1e6aa0323f243be802268711b6a3f8d995542c (diff)
downloadlibpam-freerdp2-77557e6dd153876b63b675b73bfe668b9ceff19c.tar.gz
libpam-freerdp2-77557e6dd153876b63b675b73bfe668b9ceff19c.tar.bz2
libpam-freerdp2-77557e6dd153876b63b675b73bfe668b9ceff19c.zip
src/freerdp-auth-check.c: The tool expects 4 arguments (plus command name) -> argc should be 5, not 4, then.
Diffstat (limited to 'src')
-rw-r--r--src/freerdp-auth-check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freerdp-auth-check.c b/src/freerdp-auth-check.c
index 7ecbcb6..219f434 100644
--- a/src/freerdp-auth-check.c
+++ b/src/freerdp-auth-check.c
@@ -51,7 +51,7 @@ int
main (int argc, char * argv[])
{
char password[512];
- if (argc != 4) {
+ if (argc != 5) {
printf("Not enough params\n\n");
printf("Usage: freerdp-auth-check <host>[:<port>] <user> <domain> <password>\n\n");
return -1;