tidy-up: a cmake warning message and a variable name

Spotted by GitHub Code Quality

Closes #21462
This commit is contained in:
Viktor Szakats 2026-04-27 22:21:27 +02:00
parent 0f47ddc0a9
commit 377ed81ab7
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View 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()

View 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: