X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/2a1f23881feba670f3bb614e19409b5f4e90b211..85513928f6a270af94c1477f5ae2773647b04cd7:/projects/sgconf/common_sg.cpp?ds=inline diff --git a/projects/sgconf/common_sg.cpp b/projects/sgconf/common_sg.cpp index b899fc06..e407a716 100644 --- 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, - 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; -int res = sc.ChgUser(str.c_str(), ResultCallback, &data); +int res = sc.ChgUser(user, conf, stat, ResultCallback, &data); if (res == st_ok && data.result) {