diff options
Diffstat (limited to 'src/converter/file.cpp')
-rw-r--r-- | src/converter/file.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/converter/file.cpp b/src/converter/file.cpp index 203cca9..a33381f 100644 --- a/src/converter/file.cpp +++ b/src/converter/file.cpp @@ -18,14 +18,14 @@ namespace smtp::converter void File::ApplyAuth( manage::SettingsFields &result, manage::SettingsFileDataType const& from ) const { - static const std::string FIELD = "need_auth"; + static const std::string FIELD = "is_need_auth"; ApplyBool(from, FIELD, result.is_need_auth); } void File::ApplySsl( manage::SettingsFields &result, manage::SettingsFileDataType const& from ) const { - static const std::string FIELD = "need_ssl"; + static const std::string FIELD = "is_need_ssl"; ApplyBool(from, FIELD, result.is_need_ssl); } @@ -44,7 +44,7 @@ namespace smtp::converter { return; } - field = ( find->second == TRUE_AS_STRING ) ? true : false; + field = (find->second == TRUE_AS_STRING); } void File::ApplyUsername( manage::SettingsFields &result, manage::SettingsFileDataType const& from ) const |