diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-10-09 22:50:48 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-10-09 22:50:48 +0200 |
commit | 6ec65c6f9d1aefddaccf0a9816dae0b68a46ea33 (patch) | |
tree | 58b094ae5b46b1d85cbd95f30dcddc2b041d2712 /libssh/client.c | |
parent | 71ab0cf6ccad12ff8454005cbe9a62cf1f9ae91d (diff) | |
download | libssh-6ec65c6f9d1aefddaccf0a9816dae0b68a46ea33.tar.gz libssh-6ec65c6f9d1aefddaccf0a9816dae0b68a46ea33.tar.xz libssh-6ec65c6f9d1aefddaccf0a9816dae0b68a46ea33.zip |
ssh_disconnect doesn't free the session anymore
Diffstat (limited to 'libssh/client.c')
-rw-r--r-- | libssh/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/client.c b/libssh/client.c index 84fbd84..5ca79be 100644 --- a/libssh/client.c +++ b/libssh/client.c @@ -647,6 +647,7 @@ int ssh_get_openssh_version(ssh_session session) { /** * @brief Disconnect from a session (client or server). + * The session can then be reused to open a new session. * * @param session The SSH session to disconnect. */ @@ -686,7 +687,6 @@ void ssh_disconnect(ssh_session session) { error: leave_function(); - ssh_cleanup(session); } const char *ssh_copyright(void) { |