lib: failf/infof compiler warnings

Closes #11874
This commit is contained in:
vvb2060 2023-09-17 13:04:17 +08:00 committed by Daniel Stenberg
parent 706eff9f1f
commit 746dbc1488
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 11 additions and 11 deletions

View file

@ -646,7 +646,7 @@ evaluate:
/* Nothing connected, check the time before we might
* start new ballers or return ok. */
if((ongoing || not_started) && Curl_timeleft(data, &now, TRUE) < 0) {
failf(data, "Connection timeout after %ld ms",
failf(data, "Connection timeout after %" CURL_FORMAT_CURL_OFF_T " ms",
Curl_timediff(now, data->progress.t_startsingle));
return CURLE_OPERATION_TIMEDOUT;
}