mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-07 02:39:48 +09:00
Do not close socket passed through options on error conditions
Fixes: #244 Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Sahana Prasad <sahana@redhat.com>
This commit is contained in:
@@ -308,6 +308,7 @@ int ssh_auth_reply_success(ssh_session session, int partial);
|
||||
/* client.c */
|
||||
|
||||
int ssh_send_banner(ssh_session session, int is_server);
|
||||
void ssh_session_socket_close(ssh_session session);
|
||||
|
||||
/* connect.c */
|
||||
socket_t ssh_connect_host_nonblocking(ssh_session session, const char *host,
|
||||
|
||||
Reference in New Issue
Block a user