diff options
author | claiff <claiff@mail.ru> | 2022-10-19 12:12:42 +0300 |
---|---|---|
committer | claiff <claiff@mail.ru> | 2022-10-19 12:12:42 +0300 |
commit | ae2050c0be9cacf33f803b0a15c1170ba4df4f91 (patch) | |
tree | ed33d97b617cf9d5c08de16be152ac68b0d90b19 | |
parent | e65c00994c2dd57b8e3de6d4c1c8716548eb3640 (diff) | |
download | obmc-sila-smtp-ae2050c0be9cacf33f803b0a15c1170ba4df4f91.tar.xz |
disable logs
-rw-r--r-- | src/message/sender.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/message/sender.cpp b/src/message/sender.cpp index 849f646..a0ef6ee 100644 --- a/src/message/sender.cpp +++ b/src/message/sender.cpp @@ -92,7 +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_UPLOAD, 1L ); + curl_easy_setopt( curl, CURLOPT_NOPROGRESS, 1L ); + return true; } |