mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:33:31 +03:00
lib: remove exclamation marks
... from infof() and failf() calls. Make them less attention seeking. Closes #8713
This commit is contained in:
parent
36e09dc302
commit
6968fb9d54
31 changed files with 101 additions and 101 deletions
|
|
@ -2698,7 +2698,7 @@ static void sftp_quote(struct Curl_easy *data)
|
|||
*/
|
||||
cp = strchr(cmd, ' ');
|
||||
if(!cp) {
|
||||
failf(data, "Syntax error in SFTP command. Supply parameter(s)!");
|
||||
failf(data, "Syntax error in SFTP command. Supply parameter(s)");
|
||||
state(data, SSH_SFTP_CLOSE);
|
||||
sshc->nextstate = SSH_NO_STATE;
|
||||
sshc->actualcode = CURLE_QUOTE_ERROR;
|
||||
|
|
|
|||
|
|
@ -497,7 +497,7 @@ static CURLcode ssh_knownhost(struct Curl_easy *data)
|
|||
break;
|
||||
#endif
|
||||
default:
|
||||
infof(data, "unsupported key type, can't check knownhosts!");
|
||||
infof(data, "unsupported key type, can't check knownhosts");
|
||||
keybit = 0;
|
||||
break;
|
||||
}
|
||||
|
|
@ -592,7 +592,7 @@ static CURLcode ssh_knownhost(struct Curl_easy *data)
|
|||
LIBSSH2_KNOWNHOST_KEYENC_RAW|
|
||||
keybit, NULL);
|
||||
if(addrc)
|
||||
infof(data, "WARNING: adding the known host %s failed!",
|
||||
infof(data, "WARNING: adding the known host %s failed",
|
||||
conn->host.name);
|
||||
else if(rc == CURLKHSTAT_FINE_ADD_TO_FILE ||
|
||||
rc == CURLKHSTAT_FINE_REPLACE) {
|
||||
|
|
@ -603,7 +603,7 @@ static CURLcode ssh_knownhost(struct Curl_easy *data)
|
|||
data->set.str[STRING_SSH_KNOWNHOSTS],
|
||||
LIBSSH2_KNOWNHOST_FILE_OPENSSH);
|
||||
if(wrc) {
|
||||
infof(data, "WARNING: writing %s failed!",
|
||||
infof(data, "WARNING: writing %s failed",
|
||||
data->set.str[STRING_SSH_KNOWNHOSTS]);
|
||||
}
|
||||
}
|
||||
|
|
@ -707,7 +707,7 @@ static CURLcode ssh_check_fingerprint(struct Curl_easy *data)
|
|||
|
||||
free(fingerprint_b64);
|
||||
|
||||
infof(data, "SHA256 checksum match!");
|
||||
infof(data, "SHA256 checksum match");
|
||||
}
|
||||
|
||||
if(pubkey_md5) {
|
||||
|
|
@ -746,7 +746,7 @@ static CURLcode ssh_check_fingerprint(struct Curl_easy *data)
|
|||
sshc->actualcode = CURLE_PEER_FAILED_VERIFICATION;
|
||||
return sshc->actualcode;
|
||||
}
|
||||
infof(data, "MD5 checksum match!");
|
||||
infof(data, "MD5 checksum match");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1470,7 +1470,7 @@ static CURLcode ssh_statemach_act(struct Curl_easy *data, bool *block)
|
|||
*/
|
||||
cp = strchr(cmd, ' ');
|
||||
if(!cp) {
|
||||
failf(data, "Syntax error command '%s'. Missing parameter!",
|
||||
failf(data, "Syntax error command '%s', missing parameter",
|
||||
cmd);
|
||||
state(data, SSH_SFTP_CLOSE);
|
||||
sshc->nextstate = SSH_NO_STATE;
|
||||
|
|
@ -3229,7 +3229,7 @@ static CURLcode ssh_connect(struct Curl_easy *data, bool *done)
|
|||
sshrecv.recvptr = ssh_tls_recv;
|
||||
sshsend.sendptr = ssh_tls_send;
|
||||
|
||||
infof(data, "Uses HTTPS proxy!");
|
||||
infof(data, "Uses HTTPS proxy");
|
||||
/*
|
||||
Setup libssh2 callbacks to make it read/write TLS from the socket.
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 2019 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 2019 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -469,7 +469,7 @@ static CURLcode wssh_statemach_act(struct Curl_easy *data, bool *block)
|
|||
state(data, SSH_STOP);
|
||||
return CURLE_SSH;
|
||||
}
|
||||
infof(data, "wolfssh connected!");
|
||||
infof(data, "wolfssh connected");
|
||||
state(data, SSH_STOP);
|
||||
break;
|
||||
case SSH_STOP:
|
||||
|
|
@ -490,7 +490,7 @@ static CURLcode wssh_statemach_act(struct Curl_easy *data, bool *block)
|
|||
return CURLE_OK;
|
||||
}
|
||||
else if(rc == WS_SUCCESS) {
|
||||
infof(data, "wolfssh SFTP connected!");
|
||||
infof(data, "wolfssh SFTP connected");
|
||||
state(data, SSH_SFTP_REALPATH);
|
||||
}
|
||||
else {
|
||||
|
|
@ -519,7 +519,7 @@ static CURLcode wssh_statemach_act(struct Curl_easy *data, bool *block)
|
|||
else {
|
||||
memcpy(sshc->homedir, name->fName, name->fSz);
|
||||
sshc->homedir[name->fSz] = 0;
|
||||
infof(data, "wolfssh SFTP realpath succeeded!");
|
||||
infof(data, "wolfssh SFTP realpath succeeded");
|
||||
}
|
||||
wolfSSH_SFTPNAME_list_free(name);
|
||||
state(data, SSH_STOP);
|
||||
|
|
@ -617,7 +617,7 @@ static CURLcode wssh_statemach_act(struct Curl_easy *data, bool *block)
|
|||
return CURLE_OK;
|
||||
}
|
||||
else if(rc == WS_SUCCESS) {
|
||||
infof(data, "wolfssh SFTP open succeeded!");
|
||||
infof(data, "wolfssh SFTP open succeeded");
|
||||
}
|
||||
else {
|
||||
failf(data, "wolfssh SFTP upload open failed: %d", rc);
|
||||
|
|
@ -728,7 +728,7 @@ static CURLcode wssh_statemach_act(struct Curl_easy *data, bool *block)
|
|||
return CURLE_OK;
|
||||
}
|
||||
else if(rc == WS_SUCCESS) {
|
||||
infof(data, "wolfssh SFTP open succeeded!");
|
||||
infof(data, "wolfssh SFTP open succeeded");
|
||||
state(data, SSH_SFTP_DOWNLOAD_STAT);
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
|
@ -754,7 +754,7 @@ static CURLcode wssh_statemach_act(struct Curl_easy *data, bool *block)
|
|||
return CURLE_OK;
|
||||
}
|
||||
else if(rc == WS_SUCCESS) {
|
||||
infof(data, "wolfssh STAT succeeded!");
|
||||
infof(data, "wolfssh STAT succeeded");
|
||||
}
|
||||
else {
|
||||
failf(data, "wolfssh SFTP open failed: %d", rc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue