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 compilation issues.
[stg.git]
/
projects
/
sgconf
/
common_sg.cpp
diff --git
a/projects/sgconf/common_sg.cpp
b/projects/sgconf/common_sg.cpp
index b899fc063795fb72be5b6c1a1ef2d2908e78ce1e..e407a7165c6e560c1a85fb528b28e285d5de8930 100644
(file)
--- a/
projects/sgconf/common_sg.cpp
+++ b/
projects/sgconf/common_sg.cpp
@@
-437,12
+437,14
@@
bool ProcessSetUser(const std::string & server,
int port,
const std::string & login,
const std::string & password,
int port,
const std::string & login,
const std::string & password,
- const std::string & str)
+ const std::string & user,
+ const USER_CONF_RES & conf,
+ const USER_STAT_RES & stat)
{
SERVCONF sc(server, port, login, password);
ResultData data;
{
SERVCONF sc(server, port, login, password);
ResultData data;
-int res = sc.ChgUser(
str.c_str()
, ResultCallback, &data);
+int res = sc.ChgUser(
user, conf, stat
, ResultCallback, &data);
if (res == st_ok && data.result)
{
if (res == st_ok && data.result)
{