tidy-up: move literals to right-side of if expressions (where missing)

Closes #20535
This commit is contained in:
Viktor Szakats 2026-02-07 15:59:59 +01:00
parent c6ac2de5b3
commit 85de995208
No known key found for this signature in database
57 changed files with 115 additions and 115 deletions

View file

@ -42,12 +42,12 @@ int main(void)
curl_easy_setopt(curl, CURLOPT_URL, "https://www.example.com/");
result = curl_easy_perform(curl);
if(CURLE_OK == result) {
if(result == CURLE_OK) {
const char *ct;
/* ask for the content-type */
result = curl_easy_getinfo(curl, CURLINFO_CONTENT_TYPE, &ct);
if((CURLE_OK == result) && ct)
if((result == CURLE_OK) && ct)
printf("We received Content-Type: %s\n", ct);
}