diff options
author | claiff <claiff@mail.ru> | 2022-10-19 12:12:49 +0300 |
---|---|---|
committer | claiff <claiff@mail.ru> | 2022-10-19 12:12:49 +0300 |
commit | 79dcd12de0059eef4644ecfd362dec388489dca2 (patch) | |
tree | ed33d97b617cf9d5c08de16be152ac68b0d90b19 | |
parent | 0c4f54cc2ac42309fee93c7800ae23cc64672142 (diff) | |
parent | ae2050c0be9cacf33f803b0a15c1170ba4df4f91 (diff) | |
download | obmc-sila-smtp-79dcd12de0059eef4644ecfd362dec388489dca2.tar.xz |
Merge branch 'feature/disable_logs'
-rw-r--r-- | src/message/sender.cpp | 5 |
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; } |