infof/failf calls: fix format specifiers

Update a few format specifiers to match what is being printed.

Closes #6241
This commit is contained in:
Rikard Falkeborn 2020-11-23 22:42:07 +01:00 committed by Daniel Stenberg
parent 020aa0131b
commit 920f49a20b
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
12 changed files with 20 additions and 20 deletions

View file

@ -2070,7 +2070,7 @@ static ssize_t http2_send(struct connectdata *conn, int sockindex,
if(acc > MAX_ACC) {
infof(conn->data, "http2_send: Warning: The cumulative length of all "
"headers exceeds %zu bytes and that could cause the "
"headers exceeds %d bytes and that could cause the "
"stream to be rejected.\n", MAX_ACC);
}
}
@ -2269,7 +2269,7 @@ CURLcode Curl_http2_switched(struct connectdata *conn,
data into stream->mem, overwriting data already there. */
if(H2_BUFSIZE < nread) {
failf(data, "connection buffer size is too small to store data following "
"HTTP Upgrade response header: buflen=%zu, datalen=%zu",
"HTTP Upgrade response header: buflen=%d, datalen=%zu",
H2_BUFSIZE, nread);
return CURLE_HTTP2;
}