diff options
author | claiff <claiff@mail.ru> | 2022-09-19 22:48:25 +0300 |
---|---|---|
committer | claiff <claiff@mail.ru> | 2022-09-19 22:48:25 +0300 |
commit | 011e19815b201acf19b5a4208ec6acd41ca995f3 (patch) | |
tree | 9ce2a828bfb4399b09e902cd70298f0963867269 /src/converter/string.cpp | |
parent | 7e156f58e74baaf4f1d7ccb4df629e6e1a26a32e (diff) | |
download | obmc-sila-smtp-011e19815b201acf19b5a4208ec6acd41ca995f3.tar.xz |
fix problem with boolean settingsbugfix/boolean_settings
Diffstat (limited to 'src/converter/string.cpp')
-rw-r--r-- | src/converter/string.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/converter/string.cpp b/src/converter/string.cpp index cbdc544..149d8b6 100644 --- a/src/converter/string.cpp +++ b/src/converter/string.cpp @@ -18,14 +18,14 @@ namespace smtp::converter void String::ApplyAuth( manage::SettingsFields const& from, std::string& result ) const { - static const std::string FIELD = "need_auth"; + static const std::string FIELD = "is_need_auth"; result += GetBoolParam( FIELD, from.is_need_auth); } void String::ApplySsl( manage::SettingsFields const& from, std::string& result ) const { - static const std::string FIELD = "need_ssl"; + static const std::string FIELD = "is_need_ssl"; result += GetBoolParam( FIELD, from.is_need_ssl); } |