git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Full description of corporations management.
[stg.git]
/
stglibs
/
srvconf.lib
/
servconf.cpp
diff --git
a/stglibs/srvconf.lib/servconf.cpp
b/stglibs/srvconf.lib/servconf.cpp
index 16878f18112300b1bcee12f8ee13e1681ff32e6d..430de3c146d20d430a564201cd592c02e5a75eea 100644
(file)
--- a/
stglibs/srvconf.lib/servconf.cpp
+++ b/
stglibs/srvconf.lib/servconf.cpp
@@
-350,7
+350,7
@@
if ((ret = nt.Connect()) != st_ok)
errorMsg = nt.GetError();
return ret;
}
errorMsg = nt.GetError();
return ret;
}
-if ((ret = nt.Transact(request
.c_str()
, ParserRecv, this)) != st_ok)
+if ((ret = nt.Transact(request, ParserRecv, this)) != st_ok)
{
errorMsg = nt.GetError();
return ret;
{
errorMsg = nt.GetError();
return ret;
@@
-370,7
+370,7
@@
if ((ret = nt.Connect()) != st_ok)
return ret;
}
std::string response;
return ret;
}
std::string response;
-if ((ret = nt.Transact(request
.c_str()
, SimpleRecv, &response)) != st_ok)
+if ((ret = nt.Transact(request, SimpleRecv, &response)) != st_ok)
{
errorMsg = nt.GetError();
callback(false, errorMsg, "", data);
{
errorMsg = nt.GetError();
callback(false, errorMsg, "", data);