From: Viktor Szakats Date: Mon, 27 Apr 2026 20:21:27 +0000 (+0200) Subject: tidy-up: a cmake warning message and a variable name X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;p=thirdparty%2Fcurl.git tidy-up: a cmake warning message and a variable name Spotted by GitHub Code Quality Closes #21462 --- diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt index f0617e5f91..1dea27f63a 100644 --- a/scripts/CMakeLists.txt +++ b/scripts/CMakeLists.txt @@ -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() diff --git a/tests/libtest/lib1588.c b/tests/libtest/lib1588.c index 9b12f36bfe..fd5cd47170 100644 --- a/tests/libtest/lib1588.c +++ b/tests/libtest/lib1588.c @@ -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: