mirror of
https://github.com/curl/curl.git
synced 2026-07-27 23:53:06 +03:00
parent
2e770b33e8
commit
dd71f61ea2
53 changed files with 65 additions and 84 deletions
|
|
@ -297,7 +297,6 @@ static void myssh_set_state(struct Curl_easy *data,
|
|||
"QUIT"
|
||||
};
|
||||
|
||||
|
||||
if(sshc->state != nowstate) {
|
||||
infof(data, "SSH %p state change from %s to %s (line %d)",
|
||||
(void *) sshc, names[sshc->state], names[nowstate],
|
||||
|
|
@ -2439,7 +2438,6 @@ static CURLcode myssh_statemach_act(struct Curl_easy *data,
|
|||
}
|
||||
} while(!rc && (sshc->state != SSH_STOP));
|
||||
|
||||
|
||||
if(rc == SSH_AGAIN) {
|
||||
/* we would block, we need to wait for the socket to be ready (in the
|
||||
right direction too)! */
|
||||
|
|
|
|||
|
|
@ -3573,9 +3573,9 @@ static CURLcode ssh_do(struct Curl_easy *data, bool *done)
|
|||
Curl_pgrsSetDownloadSize(data, -1);
|
||||
|
||||
if(conn->handler->protocol & CURLPROTO_SCP)
|
||||
result = scp_perform(data, &connected, done);
|
||||
result = scp_perform(data, &connected, done);
|
||||
else
|
||||
result = sftp_perform(data, &connected, done);
|
||||
result = sftp_perform(data, &connected, done);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue