tests: rename CURLMcode variables to mresult

This commit is contained in:
Daniel Stenberg 2025-12-16 13:40:02 +01:00
parent 0a26e3a660
commit 56f600ec23
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
255 changed files with 1771 additions and 1772 deletions

View file

@ -502,7 +502,7 @@ static CURLcode test_unit1658(const char *arg)
}
};
CURLcode res = CURLE_OUT_OF_MEMORY;
CURLcode result = CURLE_OUT_OF_MEMORY;
CURL *easy;
easy = curl_easy_init();
@ -516,10 +516,10 @@ static CURLcode test_unit1658(const char *arg)
curl_mprintf("test %u: %s\n", i, t[i].name);
res = doh_resp_decode_httpsrr(easy, t[i].dns, t[i].len, &hrr);
result = doh_resp_decode_httpsrr(easy, t[i].dns, t[i].len, &hrr);
/* create an output */
rrresults(hrr, res);
rrresults(hrr, result);
/* is the output the expected? */
if(strcmp(rrbuffer, t[i].expect)) {