mirror of
https://github.com/curl/curl.git
synced 2026-06-07 13:54:19 +03:00
CURL_NETRC_REQUIRED
This commit is contained in:
parent
0fbb6e4016
commit
4e9d7b6169
2 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ static CURLcode test_lib1599(char *URL)
|
|||
if(curl) {
|
||||
curl_easy_setopt(curl, CURLOPT_URL, URL);
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
|
||||
curl_easy_setopt(curl, CURLOPT_NETRC, (long)CURL_NETRC_REQUIRED);
|
||||
curl_easy_setopt(curl, CURLOPT_NETRC, CURL_NETRC_REQUIRED);
|
||||
curl_easy_setopt(curl, CURLOPT_NETRC_FILE, libtest_arg2);
|
||||
|
||||
res = curl_easy_perform(curl);
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ static CURLcode test_lib2309(char *URL)
|
|||
curl_easy_setopt(curl, CURLOPT_URL, URL);
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
|
||||
curl_easy_setopt(curl, CURLOPT_PROXY, libtest_arg3);
|
||||
curl_easy_setopt(curl, CURLOPT_NETRC, (long)CURL_NETRC_REQUIRED);
|
||||
curl_easy_setopt(curl, CURLOPT_NETRC, CURL_NETRC_REQUIRED);
|
||||
curl_easy_setopt(curl, CURLOPT_NETRC_FILE, libtest_arg2);
|
||||
|
||||
curldupe = curl_easy_duphandle(curl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue