diff options
| author | James Housley <jim@thehousleys.net> | 2007-06-13 17:13:44 +0000 | 
|---|---|---|
| committer | James Housley <jim@thehousleys.net> | 2007-06-13 17:13:44 +0000 | 
| commit | f37dc9168a3c793e9f29e7708c7783c6cc44a185 (patch) | |
| tree | 5bdffe0e44bffe04517a896a28df76f8dd6af098 /lib | |
| parent | 17798ed740db1874e94faa1a9c7d80dfa4e1b68c (diff) | |
Restore functionality mistakenly removed in the previous commit
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/ssh.c | 5 | 
1 files changed, 4 insertions, 1 deletions
| @@ -651,7 +651,10 @@ static CURLcode ssh_statemach_act(struct connectdata *conn)        break;      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;        state(conn, SSH_STOP);        result = sshc->actualCode; | 
