summaryrefslogtreecommitdiff
path: root/libcurl/rest.cpp
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-06-20 18:42:30 +0000
committerB Stack <bgstack15@gmail.com>2020-06-20 18:42:30 +0000
commita2c5f84d26cba5401bd89978de7a1e67e0f60ea8 (patch)
treefbbe856cbc0ba5a5d3a831f3ec514563cc69ecb1 /libcurl/rest.cpp
parentMerge branch '10.24' into 'master' (diff)
parentadd upstream 10.25 (diff)
downloadFreeFileSync-10.25.tar.gz
FreeFileSync-10.25.tar.bz2
FreeFileSync-10.25.zip
Merge branch '10.25' into 'master'10.25
add upstream 10.25 See merge request opensource-tracking/FreeFileSync!23
Diffstat (limited to 'libcurl/rest.cpp')
-rw-r--r--libcurl/rest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcurl/rest.cpp b/libcurl/rest.cpp
index 9b609935..1f430ce3 100644
--- a/libcurl/rest.cpp
+++ b/libcurl/rest.cpp
@@ -119,7 +119,7 @@ HttpSession::Result HttpSession::perform(const std::string& serverRelPath,
if (readRequest)
{
if (std::all_of(extraOptions.begin(), extraOptions.end(), [](const CurlOption& o) { return o.option != CURLOPT_POST; }))
- options.emplace_back(CURLOPT_UPLOAD, 1L); //issues HTTP PUT
+ /**/options.emplace_back(CURLOPT_UPLOAD, 1L); //issues HTTP PUT
options.emplace_back(CURLOPT_READDATA, &getBytesToSend);
options.emplace_back(CURLOPT_READFUNCTION, getBytesToSendWrapper);
}
bgstack15