diff options
author | Brad King <brad.king@kitware.com> | 2023-01-27 20:41:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-01-27 20:43:29 (GMT) |
commit | 1cd38de47f47624b5dbf33d4543033a8cfe609ab (patch) | |
tree | c11a56acf1c9e90c7c8ecd967ea365e694816141 /Source | |
parent | 7ac338be9830bdc936b52a4135504ed011418f3c (diff) | |
download | CMake-1cd38de47f47624b5dbf33d4543033a8cfe609ab.zip CMake-1cd38de47f47624b5dbf33d4543033a8cfe609ab.tar.gz CMake-1cd38de47f47624b5dbf33d4543033a8cfe609ab.tar.bz2 |
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')
-rw-r--r-- | Source/CTest/cmCTestCurl.cxx | 2 | ||||
-rw-r--r-- | Source/CTest/cmCTestSubmitHandler.cxx | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestCurl.cxx b/Source/CTest/cmCTestCurl.cxx index 84161f9..13b0278 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"); diff --git a/Source/CTest/cmCTestSubmitHandler.cxx b/Source/CTest/cmCTestSubmitHandler.cxx index 2bc270e..3ff8c8f 100644 --- a/Source/CTest/cmCTestSubmitHandler.cxx +++ b/Source/CTest/cmCTestSubmitHandler.cxx @@ -223,8 +223,6 @@ bool cmCTestSubmitHandler::SubmitUsingHTTP( submitInactivityTimeout); } - /* HTTP PUT please */ - ::curl_easy_setopt(curl, CURLOPT_PUT, 1); ::curl_easy_setopt(curl, CURLOPT_VERBOSE, 1); ::curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers); |