summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreportnov <eportnov@ibs.ru>2022-09-14 11:50:55 +0300
committereportnov <eportnov@ibs.ru>2022-09-14 11:50:55 +0300
commit224e56c630f2ef836dfe26581f584761abb45ed5 (patch)
tree35c095e6036099501cc9d48995035014db4331df
parentb6c931afb7d5db428b571073fbb5776219941cd1 (diff)
downloadobmc-sila-smtp-224e56c630f2ef836dfe26581f584761abb45ed5.tar.xz
set settings return bool
-rw-r--r--src/service/smtp.cpp4
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();});
}