X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/91b5ae18ae465d0887785aab6dc0eb7abc0d5488..b62e305a926ed58d509d93afccaf1e8cb40df6b8:/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp?ds=sidebyside diff --git a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp index a689cd99..11cf970c 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp +++ b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp @@ -1,9 +1,9 @@ #include +#include "stg/version.h" +#include "stg/common.h" #include "info_methods.h" -#include "version.h" #include "rpcconfig.h" -#include "common.h" void METHOD_INFO::execute(xmlrpc_c::paramList const & paramList, xmlrpc_c::value * const retvalPtr) @@ -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);