mirror of
https://github.com/curl/curl.git
synced 2026-05-06 15:07:32 +03:00
tidy-up: a cmake warning message and a variable name
Spotted by GitHub Code Quality Closes #21462
This commit is contained in:
parent
0f47ddc0a9
commit
377ed81ab7
2 changed files with 4 additions and 4 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue