using namespace STG;
-std::string CHG_ADMIN::Serialize(const ADMIN_CONF_RES & conf)
+std::string CHG_ADMIN::Serialize(const ADMIN_CONF_RES & conf, const std::string & /*encoding*/)
{
std::string params;
if (!conf.login.empty())
if (!conf.password.empty())
params += " password=\"" + conf.password.data() + "\"";
if (!conf.priv.empty())
- params += " priv=\"" + x2str(conf.priv.data().ToInt()) + "\"";
+ params += " priv=\"" + unsigned2str(conf.priv.data().ToInt()) + "\"";
return params;
}