From: Elena Mamontova Date: Mon, 14 Mar 2016 07:49:49 +0000 (+0200) Subject: Ticket 26. The LogProtocolErrors parameter value check and output to screen X-Git-Tag: 2.409~174^2~1^2~12 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/e6f8d47a04848cfe9c07285282a463890daf6b6c?ds=sidebyside;hp=8e6fbfbd7ab27edfb62b3e30c651f67557869430 Ticket 26. The LogProtocolErrors parameter value check and output to screen added in the AUTH_IA_SETTINGS::ParseSettings() method. --- diff --git a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp index 4456c372..23417166 100644 --- a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp +++ b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp @@ -142,6 +142,10 @@ else if (ParseYesNo(pvi->value[0], &logProtocolErrors)) printfd(__FILE__, "Cannot parse parameter 'LogProtocolErrors'\n"); return -1; } +if (logProtocolErrors) + printfd(__FILE__, "LogProtocolErrors: true\n"); +else + printfd(__FILE__, "LogProtocolErrors: false\n"); ///////////////////////////////////////////////////////////// std::string freeMbType; int n = 0;