summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclaiff <claiff@mail.ru>2022-10-19 12:12:42 +0300
committerclaiff <claiff@mail.ru>2022-10-19 12:12:42 +0300
commitae2050c0be9cacf33f803b0a15c1170ba4df4f91 (patch)
treeed33d97b617cf9d5c08de16be152ac68b0d90b19
parente65c00994c2dd57b8e3de6d4c1c8716548eb3640 (diff)
downloadobmc-sila-smtp-ae2050c0be9cacf33f803b0a15c1170ba4df4f91.tar.xz
disable logs
-rw-r--r--src/message/sender.cpp4
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;
}