]> git.stg.codes - stg.git/blobdiff - projects/sgconf/xml.cpp
Fix old-style casts.
[stg.git] / projects / sgconf / xml.cpp
index c54fcd02bbd17fb10878da556a956131462a18b2..61587a14d0b7942b6426d0667171083131e8b44f 100644 (file)
@@ -87,8 +87,10 @@ bool RawXMLFunction(const SGCONF::CONFIG & config,
                     const std::string & arg,
                     const std::map<std::string, std::string> & /*options*/)
 {
                     const std::string & arg,
                     const std::map<std::string, std::string> & /*options*/)
 {
-STG::SERVCONF proto(config.server.data(),
+STG::ServConf proto(config.server.data(),
                     config.port.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;