summaryrefslogtreecommitdiff
path: root/Source/CTest/cmCTestCurl.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-27 15:41:31 -0500
committerBrad King <brad.king@kitware.com>2023-01-27 15:43:29 -0500
commit1cd38de47f47624b5dbf33d4543033a8cfe609ab (patch)
treec11a56acf1c9e90c7c8ecd967ea365e694816141 /Source/CTest/cmCTestCurl.cxx
parent7ac338be9830bdc936b52a4135504ed011418f3c (diff)
downloadcmake-1cd38de47f47624b5dbf33d4543033a8cfe609ab.tar.gz
ctest: Drop unnecessary use of deprecated CURLOPT_PUT
All usage sites are already preceded by use of its replacement, CURLOPT_UPLOAD.
Diffstat (limited to 'Source/CTest/cmCTestCurl.cxx')
-rw-r--r--Source/CTest/cmCTestCurl.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestCurl.cxx b/Source/CTest/cmCTestCurl.cxx
index 84161f93b4..13b0278b2a 100644
--- a/Source/CTest/cmCTestCurl.cxx
+++ b/Source/CTest/cmCTestCurl.cxx
@@ -118,8 +118,6 @@ bool cmCTestCurl::UploadFile(std::string const& local_file,
/* enable uploading */
curl_easy_setopt(this->Curl, CURLOPT_UPLOAD, 1);
- /* HTTP PUT please */
- ::curl_easy_setopt(this->Curl, CURLOPT_PUT, 1);
::curl_easy_setopt(this->Curl, CURLOPT_VERBOSE, 1);
FILE* ftpfile = cmsys::SystemTools::Fopen(local_file, "rb");