]> git.stg.codes - stg.git/commitdiff
Remove encoding from the dir names
authorMaxim Mamontov <faust@gts.dp.ua>
Mon, 11 Apr 2011 11:48:34 +0000 (14:48 +0300)
committerMaxim Mamontov <faust@gts.dp.ua>
Mon, 11 Apr 2011 11:48:34 +0000 (14:48 +0300)
projects/stargazer/plugins/configuration/rpcconfig/info_methods.cpp

index e4a75a87ddca7acc1022b96a23e82add6a67bbda..11cf970caa3bd5ed92fb34e9075efdfeb916153c 100644 (file)
@@ -37,9 +37,7 @@ std::vector<xmlrpc_c::value> dirnameVal;
 
 for (int i = 0; i< DIR_NUM; i++)
     {
 
 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);
     }
 
 structVal["dir_names"] = xmlrpc_c::value_array(dirnameVal);