Browse Source

Merge topic 'curl-opt-netrc' into release-4.0

1b0c92a3a1 cmCurl: Avoid using undocumented type for CURLOPT_NETRC values

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10449
release
Brad King 5 months ago
committed by Kitware Robot
parent
commit
1150091f61
  1. 2
      Source/cmCurl.cxx

2
Source/cmCurl.cxx

@ -179,7 +179,7 @@ std::string cmCurlSetNETRCOption(::CURL* curl, std::string const& netrc_level,
std::string const& netrc_file)
{
std::string e;
CURL_NETRC_OPTION curl_netrc_level = CURL_NETRC_LAST;
long curl_netrc_level = CURL_NETRC_LAST;
::CURLcode res;
if (!netrc_level.empty()) {

Loading…
Cancel
Save