summaryrefslogtreecommitdiff
path: root/src/service/smtp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/smtp.cpp')
-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();});
}