Commit f37dc916 authored by James Housley's avatar James Housley
Browse files

Restore functionality mistakenly removed in the previous commit

parent 17798ed7
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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;