mirror of
https://github.com/curl/curl.git
synced 2026-07-23 22:57:17 +03:00
infof/failf calls: fix format specifiers
Update a few format specifiers to match what is being printed. Closes #6241
This commit is contained in:
parent
020aa0131b
commit
920f49a20b
12 changed files with 20 additions and 20 deletions
|
|
@ -1265,7 +1265,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
|
|||
a time-out or similar */
|
||||
result = CURLE_SSH;
|
||||
sshc->actualcode = result;
|
||||
DEBUGF(infof(data, "error = %d makes libcurl = %d\n",
|
||||
DEBUGF(infof(data, "error = %lu makes libcurl = %d\n",
|
||||
sftperr, (int)result));
|
||||
state(conn, SSH_STOP);
|
||||
break;
|
||||
|
|
@ -1945,7 +1945,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
|
|||
sshc->actualcode = CURLE_SSH;
|
||||
sftperr = LIBSSH2_FX_OK;
|
||||
}
|
||||
failf(data, "Upload failed: %s (%d/%d)",
|
||||
failf(data, "Upload failed: %s (%lu/%d)",
|
||||
sftperr != LIBSSH2_FX_OK ?
|
||||
sftp_libssh2_strerror(sftperr):"ssh error",
|
||||
sftperr, rc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue