git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed some unused stuff from build script.
[stg.git]
/
projects
/
sgconf
/
xml.cpp
diff --git
a/projects/sgconf/xml.cpp
b/projects/sgconf/xml.cpp
index 5a7d2afdaa513fab3b3e9df906fd3dab6d6bb697..abf2ccc62e96f8643a9ff808d5a344c7d3964bd7 100644
(file)
--- a/
projects/sgconf/xml.cpp
+++ b/
projects/sgconf/xml.cpp
@@
-89,6
+89,8
@@
bool RawXMLFunction(const SGCONF::CONFIG & config,
{
STG::SERVCONF proto(config.server.data(),
config.port.data(),
{
STG::SERVCONF proto(config.server.data(),
config.port.data(),
+ config.localAddress.data(),
+ config.localPort.data(),
config.userName.data(),
config.userPass.data());
return proto.RawXML(arg, RawXMLCallback, NULL) == STG::st_ok;
config.userName.data(),
config.userPass.data());
return proto.RawXML(arg, RawXMLCallback, NULL) == STG::st_ok;
@@
-99,5
+101,5
@@
return proto.RawXML(arg, RawXMLCallback, NULL) == STG::st_ok;
void SGCONF::AppendXMLOptionBlock(COMMANDS & commands, OPTION_BLOCKS & blocks)
{
blocks.Add("Raw XML")
void SGCONF::AppendXMLOptionBlock(COMMANDS & commands, OPTION_BLOCKS & blocks)
{
blocks.Add("Raw XML")
- .Add("r", "raw", SGCONF::MakeAPIAction(commands, "<xml>",
true,
RawXMLFunction), "\tmake raw XML request");
+ .Add("r", "raw", SGCONF::MakeAPIAction(commands, "<xml>", RawXMLFunction), "\tmake raw XML request");
}
}