aboutsummaryrefslogtreecommitdiff
path: root/libssh/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/client.c')
-rw-r--r--libssh/client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libssh/client.c b/libssh/client.c
index 9411d5ec..42b10414 100644
--- a/libssh/client.c
+++ b/libssh/client.c
@@ -210,7 +210,6 @@ int ssh_connect(SSH_SESSION *session){
ssh_say(2,"banner : %s\n",session->serverbanner);
/* here we analyse the different protocols the server allows */
if(ssh_analyze_banner(session,&ssh1,&ssh2)){
- ssh_disconnect(session);
return -1;
}
/* here we decide which version of the protocol to use */