lib: cleanup for some typos about spaces and code style

Closes #19370
This commit is contained in:
x2018 2025-11-05 15:28:56 +08:00 committed by Daniel Stenberg
parent 2e770b33e8
commit dd71f61ea2
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
53 changed files with 65 additions and 84 deletions

View file

@ -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)! */

View file

@ -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;
}