diff options
| author | claiff <claiff@mail.ru> | 2022-10-06 12:26:45 +0300 |
|---|---|---|
| committer | claiff <claiff@mail.ru> | 2022-10-06 12:26:45 +0300 |
| commit | da5f91a0ce15351a82beb061c3ccc965164529bc (patch) | |
| tree | 1f4cd2d1e2f8cf2442d055c519d06c6e0692febc /src/checker/errors/mail/empty.cpp | |
| parent | 8edef99a5b52643e0b919c424357752cbbc9a8dd (diff) | |
| download | obmc-sila-smtp-bugfix/proxy_file_reader.tar.xz | |
create settings on startbugfix/proxy_file_reader
Diffstat (limited to 'src/checker/errors/mail/empty.cpp')
| -rw-r--r-- | src/checker/errors/mail/empty.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/checker/errors/mail/empty.cpp b/src/checker/errors/mail/empty.cpp index 8a1591e..c39516e 100644 --- a/src/checker/errors/mail/empty.cpp +++ b/src/checker/errors/mail/empty.cpp @@ -5,11 +5,6 @@ namespace smtp::checker::errors::mail { bool Empty::Check( std::string const& line ) const { - auto result = !line.empty() && line != " "; - if( !result ) - { - logger::LoggerSet::GetInstance()->LogError( GetMethodName(), "Mails are empty" ); - } - return result; + return !line.empty() && line != " "; } } |
