git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed tests.
[stg.git]
/
stglibs
/
srvconf.lib
/
parsers
/
chg_admin.cpp
diff --git
a/stglibs/srvconf.lib/parsers/chg_admin.cpp
b/stglibs/srvconf.lib/parsers/chg_admin.cpp
index 445ea28058d01243e41b4bdb260350448a7c9a6b..14679dff6f04c8d0c61d2d6bc6b914ff1e450279 100644
(file)
--- a/
stglibs/srvconf.lib/parsers/chg_admin.cpp
+++ b/
stglibs/srvconf.lib/parsers/chg_admin.cpp
@@
-27,7
+27,7
@@
using namespace STG;
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())
{
std::string params;
if (!conf.login.empty())
@@
-35,6
+35,6
@@
if (!conf.login.empty())
if (!conf.password.empty())
params += " password=\"" + conf.password.data() + "\"";
if (!conf.priv.empty())
if (!conf.password.empty())
params += " password=\"" + conf.password.data() + "\"";
if (!conf.priv.empty())
- params += " priv=\"" +
x
2str(conf.priv.data().ToInt()) + "\"";
+ params += " priv=\"" +
unsigned
2str(conf.priv.data().ToInt()) + "\"";
return params;
}
return params;
}