mirror of
https://github.com/curl/curl.git
synced 2026-08-26 19:43:32 +03:00
lib: use FMT_ as prefix instead of CURL_FORMAT_
For printf format defines used internally. Makes the code slighly easier to read. Closes #14764
This commit is contained in:
parent
a2bcec0ee0
commit
4ff04615a0
40 changed files with 357 additions and 395 deletions
|
|
@ -189,7 +189,7 @@ static CURLcode httpchunk_readwrite(struct Curl_easy *data,
|
|||
else {
|
||||
ch->state = CHUNK_DATA;
|
||||
CURL_TRC_WRITE(data, "http_chunked, chunk start of %"
|
||||
CURL_FORMAT_CURL_OFF_T " bytes", ch->datasize);
|
||||
FMT_OFF_T " bytes", ch->datasize);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -226,7 +226,7 @@ static CURLcode httpchunk_readwrite(struct Curl_easy *data,
|
|||
buf += piece; /* move read pointer forward */
|
||||
blen -= piece; /* decrease space left in this round */
|
||||
CURL_TRC_WRITE(data, "http_chunked, write %zu body bytes, %"
|
||||
CURL_FORMAT_CURL_OFF_T " bytes in chunk remain",
|
||||
FMT_OFF_T " bytes in chunk remain",
|
||||
piece, ch->datasize);
|
||||
|
||||
if(0 == ch->datasize)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue