From d4bb6b1e2cb9698e1153f70394fd2ded364bd043 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 22 Sep 2014 23:26:29 +0300 Subject: [PATCH] Fixed parsing admins in srvconf. --- stglibs/srvconf.lib/parsers/get_admin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stglibs/srvconf.lib/parsers/get_admin.cpp b/stglibs/srvconf.lib/parsers/get_admin.cpp index 3d0e135e..29e35ba7 100644 --- a/stglibs/srvconf.lib/parsers/get_admin.cpp +++ b/stglibs/srvconf.lib/parsers/get_admin.cpp @@ -105,7 +105,7 @@ if (strcasecmp(el, "admin") == 0) { parsingAnswer = true; for (const char ** pos = attr; *pos != NULL; pos = pos + 2) - if (!TryParse(propertyParsers, ToLower(*pos), pos, *pos)) + if (!TryParse(propertyParsers, ToLower(*pos), pos, encoding, *pos)) { error = std::string("Invalid parameter '") + *pos + "'."; break; -- 2.44.2