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:
Viktor Szakats 2026-06-09 12:09:46 +02:00
parent 9dcc57b801
commit 847aac066d
No known key found for this signature in database
23 changed files with 90 additions and 91 deletions

View file

@ -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);
}