mirror of
https://github.com/curl/curl.git
synced 2026-05-15 09:26:23 +03:00
tests: rename more CURLcode variables to result
For consistency. Also: - one remaining in `src/tool_writeout.c`. - replace casting an `int` to `CURLcode`. - lib758: rename `CURLMcode` `result` to `mresult`. - move literals to the right side of if expressions. Follow-up tod0dc6e2ec0#20426 Follow-up to56f600ec23Closes #20432
This commit is contained in:
parent
26c39d8df1
commit
2da1bbca96
33 changed files with 307 additions and 303 deletions
|
|
@ -163,8 +163,9 @@ static void certinfo(struct per_transfer *per)
|
|||
{
|
||||
if(!per->certinfo) {
|
||||
struct curl_certinfo *certinfo;
|
||||
CURLcode res = curl_easy_getinfo(per->curl, CURLINFO_CERTINFO, &certinfo);
|
||||
per->certinfo = (!res && certinfo) ? certinfo : NULL;
|
||||
CURLcode result = curl_easy_getinfo(per->curl, CURLINFO_CERTINFO,
|
||||
&certinfo);
|
||||
per->certinfo = (!result && certinfo) ? certinfo : NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue