X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/bdd9903a414b2080f9ab7be9695f0752494fda89..c65b73de5dfbbb54f7b977a9fcd72d1abbb1e827:/projects/stargazer/plugins/configuration/sgconfig/parser_message.cpp diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_message.cpp b/projects/stargazer/plugins/configuration/sgconfig/parser_message.cpp index 18767320..2e41fcc9 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_message.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_message.cpp @@ -30,7 +30,7 @@ using STG::PARSER::SEND_MESSAGE; int SEND_MESSAGE::Start(void *, const char *el, const char **attr) { - if (strcasecmp(el, tag.c_str()) != 0) + if (strcasecmp(el, m_tag.c_str()) != 0) return -1; for (size_t i = 0; i < 14; i++) @@ -85,7 +85,7 @@ int SEND_MESSAGE::Start(void *, const char *el, const char **attr) int SEND_MESSAGE::End(void *, const char *el) { - if (strcasecmp(el, tag.c_str()) != 0) + if (strcasecmp(el, m_tag.c_str()) != 0) return -1; m_result = res_unknown; @@ -126,13 +126,13 @@ void SEND_MESSAGE::CreateAnswer() switch (m_result) { case res_ok: - answer = ""; + m_answer = ""; break; case res_params_error: - answer = ""; + m_answer = ""; break; case res_unknown: - answer = ""; + m_answer = ""; break; } }