Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 53d7b8b

Browse files
author
Gustavo Lima Chaves
committed
Curl: account for deprecated symbol
CURL_FORMAT_OFF_T seems to have been deprecated in favor of CURL_FORMAT_CURL_OFF_T. The usage is with a leading % as well, from what I could see. Signed-off-by: Gustavo Lima Chaves <[email protected]>
1 parent e877bff commit 53d7b8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/comms/sol-http-client-impl-curl.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -495,8 +495,8 @@ xferinfo_cb(void *clientp, curl_off_t dltotal, curl_off_t dlnow,
495495
struct sol_http_client_connection *connection = clientp;
496496

497497
if (dltotal > 0 && SOL_UNLIKELY(dltotal < dlnow)) {
498-
SOL_WRN("Received more than expected, aborting transfer ("
499-
CURL_FORMAT_OFF_T "< " CURL_FORMAT_OFF_T ")",
498+
SOL_WRN("Received more than expected, aborting transfer (%"
499+
CURL_FORMAT_CURL_OFF_T "< %" CURL_FORMAT_CURL_OFF_T ")",
500500
dltotal, dlnow);
501501
print_connection_info_wrn(connection);
502502
connection->error = true;

0 commit comments

Comments
 (0)