From 1459c8b3b7b4079b222af372faa10f360d5b23b4 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 9 Nov 2012 13:30:19 +0100 Subject: fixing syntax errors --- src/x2go-auth-check.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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)) { -- cgit v1.2.3