]> git.stg.codes - stg.git/commitdiff
Ticket 26. The LogProtocolErrors parameter value check and output to screen
authorElena Mamontova <helenh463@gmail.com>
Mon, 14 Mar 2016 07:49:49 +0000 (09:49 +0200)
committerElena Mamontova <helenh463@gmail.com>
Mon, 14 Mar 2016 07:49:49 +0000 (09:49 +0200)
added in the AUTH_IA_SETTINGS::ParseSettings() method.

projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp

index 4456c372df3d82e25620e9f6c0f7dd4feafb748f..2341716676bbbb36de72b5efa2cd404b5d5113b6 100644 (file)
@@ -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;