mirror of
https://github.com/curl/curl.git
synced 2026-08-26 08:33:31 +03:00
tests: rename CURLMcode variables to mresult
This commit is contained in:
parent
0a26e3a660
commit
56f600ec23
255 changed files with 1771 additions and 1772 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue