From: Maxim Mamontov Date: Mon, 11 Apr 2011 11:48:34 +0000 (+0300) Subject: Remove encoding from the dir names X-Git-Tag: 2.407-rc3~14 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/b62e305a926ed58d509d93afccaf1e8cb40df6b8 Remove encoding from the dir names --- diff --git a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp index e4a75a87..11cf970c 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp +++ b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp @@ -37,9 +37,7 @@ std::vector dirnameVal; for (int i = 0; i< DIR_NUM; i++) { - std::string dn2e; - Encode12str(dn2e, dirNames[i]); - dirnameVal.push_back(xmlrpc_c::value_string(dn2e)); + dirnameVal.push_back(xmlrpc_c::value_string(dirNames[i])); } structVal["dir_names"] = xmlrpc_c::value_array(dirnameVal);