X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0c9d10cb3d9399280fe5eca715287d2454788654..418ecfb85b58d140aa9c786d837b27d79d3187ce:/projects/stargazer/plugins/configuration/sgconfig/parser_server_info.cpp?ds=inline
diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_server_info.cpp b/projects/stargazer/plugins/configuration/sgconfig/parser_server_info.cpp
index 1287bf51..1873b9bb 100644
--- a/projects/stargazer/plugins/configuration/sgconfig/parser_server_info.cpp
+++ b/projects/stargazer/plugins/configuration/sgconfig/parser_server_info.cpp
@@ -21,7 +21,9 @@
#include "parser_server_info.h"
-#include "stg/common.h"
+#include "stg/settings.h"
+#include "stg/users.h"
+#include "stg/tariffs.h"
#include "stg/version.h"
#include "stg/const.h"
@@ -32,6 +34,8 @@
using STG::PARSER::GET_SERVER_INFO;
+const char * GET_SERVER_INFO::tag = "GetServerInfo";
+
void GET_SERVER_INFO::CreateAnswer()
{
struct utsname utsn;
@@ -42,16 +46,16 @@ void GET_SERVER_INFO::CreateAnswer()
utsn.machine + " " +
utsn.nodename;
- answer = GetOpenTag() + "" +
- "" +
- "" +
- "" +
- "" +
- "" +
- "";
+ m_answer = GetOpenTag() + "" +
+ "" +
+ "" +
+ "" +
+ "" +
+ "" +
+ "";
for (size_t i = 0; i< DIR_NUM; i++)
- answer += "";
+ m_answer += "";
- answer += GetCloseTag();
+ m_answer += GetCloseTag();
}