mirror of
https://github.com/curl/curl.git
synced 2026-07-28 16:33:07 +03:00
src: stop overriding system printf symbols
Also:
- tool_operate: use the socket printf mask, drop cast.
Follow-up to 4deea9396b #18814
Closes #18844
This commit is contained in:
parent
34ad78da89
commit
db98daab05
25 changed files with 203 additions and 207 deletions
|
|
@ -112,9 +112,9 @@ void ourWriteOutJSON(FILE *stream, const struct writeoutvar mappings[],
|
|||
|
||||
/* The variables are sorted in alphabetical order but as a special case
|
||||
curl_version (which is not actually a --write-out variable) is last. */
|
||||
fprintf(stream, "\"curl_version\":");
|
||||
curl_mfprintf(stream, "\"curl_version\":");
|
||||
jsonWriteString(stream, curl_version(), FALSE);
|
||||
fprintf(stream, "}");
|
||||
curl_mfprintf(stream, "}");
|
||||
}
|
||||
|
||||
void headerJSON(FILE *stream, struct per_transfer *per)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue