diff options
author | claiff <claiff@mail.ru> | 2022-09-23 17:31:40 +0300 |
---|---|---|
committer | claiff <claiff@mail.ru> | 2022-09-23 17:31:40 +0300 |
commit | 8d38861429c3544d10752fb0f6f9da436dee218f (patch) | |
tree | 666af3e4317fbe9f19c9895a6e6694e86ea7cef9 /src/checker/errors | |
parent | ddd298d7c467dcca5c057ed6807c2fea5176f9a3 (diff) | |
parent | d981f7230bc641614c590717e16ac694762d92ac (diff) | |
download | obmc-sila-smtp-8d38861429c3544d10752fb0f6f9da436dee218f.tar.xz |
Merge branch 'feature/add_auth'
Diffstat (limited to 'src/checker/errors')
-rw-r--r-- | src/checker/errors/mail/empty.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 != " "; } } |