mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 12:05:06 -05:00
Restore functionality mistakenly removed in the previous commit
This commit is contained in:
parent
17798ed740
commit
f37dc9168a
@ -651,7 +651,10 @@ static CURLcode ssh_statemach_act(struct connectdata *conn)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case SSH_SESSION_FREE:
|
case SSH_SESSION_FREE:
|
||||||
libssh2_session_free(ssh->ssh_session);
|
rc = libssh2_session_free(ssh->ssh_session);
|
||||||
|
if (rc == LIBSSH2_ERROR_EAGAIN) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
ssh->ssh_session = NULL;
|
ssh->ssh_session = NULL;
|
||||||
state(conn, SSH_STOP);
|
state(conn, SSH_STOP);
|
||||||
result = sshc->actualCode;
|
result = sshc->actualCode;
|
||||||
|
Loading…
Reference in New Issue
Block a user