From 011e19815b201acf19b5a4208ec6acd41ca995f3 Mon Sep 17 00:00:00 2001 From: claiff Date: Mon, 19 Sep 2022 22:48:25 +0300 Subject: fix problem with boolean settings --- src/converter/string.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/converter/string.cpp') 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); } -- cgit v1.2.3