summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclaiff <claiff@mail.ru>2022-10-19 12:12:49 +0300
committerclaiff <claiff@mail.ru>2022-10-19 12:12:49 +0300
commit79dcd12de0059eef4644ecfd362dec388489dca2 (patch)
treeed33d97b617cf9d5c08de16be152ac68b0d90b19
parent0c4f54cc2ac42309fee93c7800ae23cc64672142 (diff)
parentae2050c0be9cacf33f803b0a15c1170ba4df4f91 (diff)
downloadobmc-sila-smtp-79dcd12de0059eef4644ecfd362dec388489dca2.tar.xz
Merge branch 'feature/disable_logs'
-rw-r--r--src/message/sender.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/message/sender.cpp b/src/message/sender.cpp
index 7df9819..a0ef6ee 100644
--- a/src/message/sender.cpp
+++ b/src/message/sender.cpp
@@ -92,8 +92,9 @@ namespace smtp::message
curl_easy_setopt( curl, CURLOPT_READFUNCTION, ReadCallBack );
curl_easy_setopt( curl, CURLOPT_READDATA, &upload_ctx );
- curl_easy_setopt( curl, CURLOPT_UPLOAD, 1L );
- curl_easy_setopt( curl, CURLOPT_VERBOSE, 1L );
+ curl_easy_setopt( curl, CURLOPT_UPLOAD, 1L );
+ curl_easy_setopt( curl, CURLOPT_NOPROGRESS, 1L );
+
return true;
}