diff options
author | eportnov <eportnov@ibs.ru> | 2022-09-14 11:50:55 +0300 |
---|---|---|
committer | eportnov <eportnov@ibs.ru> | 2022-09-14 11:50:55 +0300 |
commit | 224e56c630f2ef836dfe26581f584761abb45ed5 (patch) | |
tree | 35c095e6036099501cc9d48995035014db4331df /src/service/smtp.cpp | |
parent | b6c931afb7d5db428b571073fbb5776219941cd1 (diff) | |
download | obmc-sila-smtp-224e56c630f2ef836dfe26581f584761abb45ed5.tar.xz |
set settings return bool
Diffstat (limited to 'src/service/smtp.cpp')
-rw-r--r-- | src/service/smtp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service/smtp.cpp b/src/service/smtp.cpp index ffecaff..702de2d 100644 --- a/src/service/smtp.cpp +++ b/src/service/smtp.cpp @@ -87,8 +87,8 @@ namespace smtp::service std::string const& password, std::string const& host, std::string const& port ) - { mSettingsStorage.SetSettings({ is_need_auth, is_need_ssl, - user, password, host, port});}); + { return mSettingsStorage.SetSettings({ is_need_auth, is_need_ssl, + user, password, host, port});}); mManagerSettingsInterface->register_method(SMTP_GET_SETTINGS_METHOD_NAME, [this](){ return mSettingsStorage.GetSettings();}); } |