From ae2050c0be9cacf33f803b0a15c1170ba4df4f91 Mon Sep 17 00:00:00 2001 From: claiff Date: Wed, 19 Oct 2022 12:12:42 +0300 Subject: disable logs --- src/message/sender.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3