aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-09 13:30:19 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-09 13:30:19 +0100
commit1459c8b3b7b4079b222af372faa10f360d5b23b4 (patch)
treefc02fdf5fcaa7bed4b2430b76b8c505baae7c594
parent09b23464dc7aea0221a261eaa8fabb087296eaff (diff)
downloadlibpam-x2go-1459c8b3b7b4079b222af372faa10f360d5b23b4.tar.gz
libpam-x2go-1459c8b3b7b4079b222af372faa10f360d5b23b4.tar.bz2
libpam-x2go-1459c8b3b7b4079b222af372faa10f360d5b23b4.zip
fixing syntax errors
-rw-r--r--src/x2go-auth-check.c6
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)) {