]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tidy-up: a cmake warning message and a variable name master
authorViktor Szakats <commit@vsz.me>
Mon, 27 Apr 2026 20:21:27 +0000 (22:21 +0200)
committerViktor Szakats <commit@vsz.me>
Tue, 28 Apr 2026 07:07:27 +0000 (09:07 +0200)
Spotted by GitHub Code Quality

Closes #21462

scripts/CMakeLists.txt
tests/libtest/lib1588.c

index f0617e5f9127cc7ca2961b769c8cfd2c0f87fc43..1dea27f63aeb61bbdcbf9ec23accbe55bdb57a09 100644 (file)
@@ -74,7 +74,7 @@ if(BUILD_CURL_EXE)
         endif()
       endif()
     else()
-      message(WARNING "No perl: cannot generate completion script")
+      message(WARNING "Perl not found. Cannot generate completion scripts.")
     endif()
   endif()
 endif()
index 9b12f36bfebe9ad743f24da3b24060274c08b855..fd5cd4717095c786c82f608777421b065c81b5fe 100644 (file)
@@ -86,7 +86,7 @@ static CURLcode test_lib1588(const char *URL)
 {
   CURLcode result = CURLE_OK;
   CURL *curl = NULL;
-  const char *proxyuserpws = libtest_arg4;
+  const char *proxyuserpwd = libtest_arg4;
   struct curl_slist *host = NULL;
   struct curl_slist *host2 = NULL;
   char proxy1_resolve[128];
@@ -131,13 +131,13 @@ static CURLcode test_lib1588(const char *URL)
 
   easy_setopt(curl, CURLOPT_RESOLVE, host);
 
-  result = run1588(curl, URL, proxyuserpws, proxy1_connect);
+  result = run1588(curl, URL, proxyuserpwd, proxy1_connect);
   if(result)
     goto test_cleanup;
 
   curl_mfprintf(stderr, "lib1588: now we do the request again\n");
 
-  result = run1588(curl, URL, proxyuserpws, proxy2_connect);
+  result = run1588(curl, URL, proxyuserpwd, proxy2_connect);
 
 test_cleanup: