mirror of
https://github.com/curl/curl.git
synced 2026-08-26 00:13:34 +03:00
tidy-up: use uppercase TRUE/FALSE where missing
Keep it only in external API calls and C++ code. Also: - curlx/fopen: replace with `!!`. Spotted by GitHub Code Quality in cf-socket.c. Closes #21925
This commit is contained in:
parent
9dcc57b801
commit
847aac066d
23 changed files with 90 additions and 91 deletions
|
|
@ -105,7 +105,7 @@ void ourWriteOutJSON(FILE *stream, const struct writeoutvar mappings[],
|
|||
|
||||
for(i = 0; i < nentries; i++) {
|
||||
if(mappings[i].writefunc &&
|
||||
mappings[i].writefunc(stream, &mappings[i], per, per_result, true))
|
||||
mappings[i].writefunc(stream, &mappings[i], per, per_result, TRUE))
|
||||
fputs(",", stream);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue