]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
unit1658: rename `CURLcode` to `result`
authorViktor Szakats <commit@vsz.me>
Fri, 17 Apr 2026 11:17:17 +0000 (13:17 +0200)
committerViktor Szakats <commit@vsz.me>
Fri, 17 Apr 2026 11:34:44 +0000 (13:34 +0200)
Closes #21356

tests/unit/unit1658.c

index fa281fe3eace95bb654bb98b52a76813734637d6..1c59c09c451a473c3c0c19ed9ff80fcebc01fbf7 100644 (file)
@@ -42,11 +42,11 @@ static CURLcode t1658_setup(void)
  */
 
 static char rrbuffer[256];
-static void rrresults(struct Curl_https_rrinfo *rr, CURLcode res)
+static void rrresults(struct Curl_https_rrinfo *rr, CURLcode result)
 {
   char *p = rrbuffer;
   const char *pend = rrbuffer + sizeof(rrbuffer);
-  curl_msnprintf(rrbuffer, sizeof(rrbuffer), "r:%d|", (int)res);
+  curl_msnprintf(rrbuffer, sizeof(rrbuffer), "r:%d|", (int)result);
   p += strlen(rrbuffer);
 
   if(rr) {