mirror of
https://github.com/curl/curl.git
synced 2026-08-26 15:33:34 +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
|
|
@ -1571,7 +1571,7 @@ static CURLcode http_request(struct connectdata *conn, const void *mem,
|
|||
|
||||
if(acc > MAX_ACC) {
|
||||
infof(data, "http_request: 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);
|
||||
}
|
||||
}
|
||||
|
|
@ -1741,7 +1741,7 @@ static CURLcode ng_process_ingress(struct connectdata *conn,
|
|||
if(SOCKERRNO == EAGAIN || SOCKERRNO == EWOULDBLOCK)
|
||||
break;
|
||||
|
||||
failf(conn->data, "ngtcp2: recvfrom() unexpectedly returned %d", recvd);
|
||||
failf(conn->data, "ngtcp2: recvfrom() unexpectedly returned %zd", recvd);
|
||||
return CURLE_RECV_ERROR;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -358,7 +358,7 @@ static CURLcode process_ingress(struct connectdata *conn, int sockfd,
|
|||
break;
|
||||
|
||||
if(recvd < 0) {
|
||||
failf(conn->data, "quiche: recv() unexpectedly returned %d "
|
||||
failf(conn->data, "quiche: recv() unexpectedly returned %zd "
|
||||
"(errno: %d, socket %d)", recvd, SOCKERRNO, sockfd);
|
||||
return CURLE_RECV_ERROR;
|
||||
}
|
||||
|
|
@ -368,7 +368,7 @@ static CURLcode process_ingress(struct connectdata *conn, int sockfd,
|
|||
break;
|
||||
|
||||
if(recvd < 0) {
|
||||
failf(conn->data, "quiche_conn_recv() == %d", recvd);
|
||||
failf(conn->data, "quiche_conn_recv() == %zd", recvd);
|
||||
return CURLE_RECV_ERROR;
|
||||
}
|
||||
} while(1);
|
||||
|
|
@ -762,7 +762,7 @@ static CURLcode http_request(struct connectdata *conn, const void *mem,
|
|||
|
||||
if(acc > MAX_ACC) {
|
||||
infof(data, "http_request: 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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue