fix the implements of client enhanced information

* miscmatched variable name fixed
stable-4.X-namespace
mckaygerhard 2023-09-11 23:58:34 -04:00
parent 416068c790
commit 9cf276044a
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ public:
const size_t pos1 = full.find('\x00');
if (pos1 != std::string::npos)
m_platform = full.substr(pos1 + 1).c_str();
const size_t pos2 = full.find('\x00', pos + 1);
const size_t pos2 = full.find('\x00', pos1 + 1);
if (pos2 != std::string::npos)
m_sysinfo = full.substr(pos2 + 1);
}