From d981f7230bc641614c590717e16ac694762d92ac Mon Sep 17 00:00:00 2001 From: claiff Date: Fri, 23 Sep 2022 17:30:29 +0300 Subject: add mail error with empty file add boolean settings ssl and auth --- src/checker/errors/mail/empty.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/checker') diff --git a/src/checker/errors/mail/empty.cpp b/src/checker/errors/mail/empty.cpp index 06f6f4c..a893fbb 100644 --- a/src/checker/errors/mail/empty.cpp +++ b/src/checker/errors/mail/empty.cpp @@ -4,6 +4,6 @@ namespace smtp::checker::errors::settings { bool Empty::Check( std::string const& line ) const { - return !line.empty(); + return !line.empty() && line != " "; } } -- cgit v1.2.3