diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2012-11-09 13:30:19 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2012-11-09 13:30:19 +0100 |
commit | 1459c8b3b7b4079b222af372faa10f360d5b23b4 (patch) | |
tree | fc02fdf5fcaa7bed4b2430b76b8c505baae7c594 /src | |
parent | 09b23464dc7aea0221a261eaa8fabb087296eaff (diff) | |
download | libpam-x2go-1459c8b3b7b4079b222af372faa10f360d5b23b4.tar.gz libpam-x2go-1459c8b3b7b4079b222af372faa10f360d5b23b4.tar.bz2 libpam-x2go-1459c8b3b7b4079b222af372faa10f360d5b23b4.zip |
fixing syntax errors
Diffstat (limited to 'src')
-rw-r--r-- | src/x2go-auth-check.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/x2go-auth-check.c b/src/x2go-auth-check.c index 4f30848..8dfc38f 100644 --- a/src/x2go-auth-check.c +++ b/src/x2go-auth-check.c @@ -38,8 +38,8 @@ main (int argc, char * argv[]) auth_check_ssh_session = ssh_new(); - ssh_options_set ( auth_check_ssh_session, SSH_OPTIONS_HOST, argv[1]; ); - ssh_options_set ( auth_check_ssh_session, SSH_OPTIONS_USER, argv[2]; ); + ssh_options_set ( auth_check_ssh_session, SSH_OPTIONS_HOST, argv[1] ); + ssh_options_set ( auth_check_ssh_session, SSH_OPTIONS_USER, argv[2] ); int rc = ssh_connect (ssh_session); @@ -49,7 +49,7 @@ main (int argc, char * argv[]) colonloc[0] = '\0'; colonloc++; - ssh_options_set ( auth_check_ssh_session, SSH_OPTIONS_PORT, strtoul(colonloc, NULL, 10); ); + ssh_options_set ( auth_check_ssh_session, SSH_OPTIONS_PORT, strtoul(colonloc, NULL, 10) ); } if (ssh_connect (ssh_session)) { |