From b815c0550e75bf84b8805047403ea848a7074475 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Mon, 29 Feb 2016 17:11:26 +0200 Subject: [PATCH] Ticket 26. The const MODULE_SETTINGS & ms parameter added, MODULE_SETTINGS newSettings object removed, the newSettings parameter changed to ms when newIaSettings.ParseSettings() method call in the Reload() method. --- .../plugins/authorization/inetaccess/inetaccess.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp index 1d126ae5..4456c372 100644 --- a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp +++ b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp @@ -526,11 +526,10 @@ if (ret) return ret; } //----------------------------------------------------------------------------- -int AUTH_IA::Reload() +int AUTH_IA::Reload(const MODULE_SETTINGS & ms) { AUTH_IA_SETTINGS newIaSettings; -MODULE_SETTINGS newSettings = settings; -if (newIaSettings.ParseSettings(newSettings)) +if (newIaSettings.ParseSettings(ms)) { STG_LOGGER & WriteServLog = GetStgLogger(); printfd(__FILE__, "AUTH_IA::Reload() - Failed to reload InetAccess.\n"); -- 2.44.2