diff options
author | Brad King <brad.king@kitware.com> | 2024-08-15 13:35:15 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-08-15 13:35:37 (GMT) |
commit | 0460e71e1f592c71fbffc2035f22f91e240608a5 (patch) | |
tree | 6956d4e9824ec445f3a1716ae14fd16b25146c1c /Source/cmFileCommand.cxx | |
parent | 41da7a4a9a6e1e5e3adaf73bce6881ec891b3e88 (diff) | |
parent | 7486f468fb982f8362252b70987aca13ddf95690 (diff) | |
download | CMake-0460e71e1f592c71fbffc2035f22f91e240608a5.zip CMake-0460e71e1f592c71fbffc2035f22f91e240608a5.tar.gz CMake-0460e71e1f592c71fbffc2035f22f91e240608a5.tar.bz2 |
Merge topic 'curl-http2'
7486f468fb curl: Avoid using HTTP/2 with curl 8.7.x due to bug in error codes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9728
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r-- | Source/cmFileCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 5a12afe..926da86 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -2168,7 +2168,7 @@ bool HandleDownloadCommand(std::vector<std::string> const& args, ::CURL* curl; cmCurlInitOnce(); ::curl_global_init(CURL_GLOBAL_DEFAULT); - curl = ::curl_easy_init(); + curl = cm_curl_easy_init(); if (!curl) { status.SetError("DOWNLOAD error initializing curl."); return false; @@ -2542,7 +2542,7 @@ bool HandleUploadCommand(std::vector<std::string> const& args, ::CURL* curl; cmCurlInitOnce(); ::curl_global_init(CURL_GLOBAL_DEFAULT); - curl = ::curl_easy_init(); + curl = cm_curl_easy_init(); if (!curl) { status.SetError("UPLOAD error initializing curl."); fclose(fin); |