X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b90c2119e010c073ac79280693751be5c05bb1b9..6b29e16ef9b86fea7d629b23fc55eab3b58a297b:/stglibs/srvconf.lib/servconf.cpp diff --git a/stglibs/srvconf.lib/servconf.cpp b/stglibs/srvconf.lib/servconf.cpp index 2970cf39..330ba8b1 100644 --- a/stglibs/srvconf.lib/servconf.cpp +++ b/stglibs/srvconf.lib/servconf.cpp @@ -45,8 +45,6 @@ public: IMPL(const std::string & server, uint16_t port, const std::string & login, const std::string & password); - int ServerInfo(SERVER_INFO::CALLBACK f, void * data); - const std::string & GetStrError() const; static void Start(void * data, const char * el, const char ** attr); static void End(void * data, const char * el); @@ -117,7 +115,7 @@ return pImpl->Exec(request, f, data); int SERVCONF::ServerInfo(SERVER_INFO::CALLBACK f, void * data) { - return pImpl->ServerInfo(f, data); +return pImpl->Exec("", f, data); } int SERVCONF::CheckUser(const std::string & login, const std::string & password, CHECK_USER::CALLBACK f, void * data) @@ -139,11 +137,6 @@ parser = XML_ParserCreate(NULL); nt.SetRxCallback(this, AnsRecv); } //----------------------------------------------------------------------------- -int SERVCONF::IMPL::ServerInfo(SERVER_INFO::CALLBACK f, void * data) -{ -return Exec("", f, data); -} -//----------------------------------------------------------------------------- void SERVCONF::IMPL::Start(void * data, const char * el, const char ** attr) { PARSER * currParser = static_cast(data);