aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-09 15:01:14 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-09 15:01:14 +0100
commit5667bd031dbd9fedfdd5066050b1e5188819ac9c (patch)
tree3144199fea126d8a60ceddce7fe2575ae8a2efd4
parentbef4f6dde77e7c472e0e96e92f53c7d6bc677536 (diff)
downloadlibpam-x2go-5667bd031dbd9fedfdd5066050b1e5188819ac9c.tar.gz
libpam-x2go-5667bd031dbd9fedfdd5066050b1e5188819ac9c.tar.bz2
libpam-x2go-5667bd031dbd9fedfdd5066050b1e5188819ac9c.zip
remove duplicat ssh_connect call
-rw-r--r--src/x2go-auth-check.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/x2go-auth-check.c b/src/x2go-auth-check.c
index 60ca16b..5bd6c1a 100644
--- a/src/x2go-auth-check.c
+++ b/src/x2go-auth-check.c
@@ -41,8 +41,6 @@ main (int argc, char * argv[])
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_connect ( auth_check_ssh_session );
-
char * colonloc = strstr(argv[1], ":");
if (colonloc != NULL) {
/* We've got a port to deal with */