fix the implements of client enhanced information

* miscmatch of a variable pos
stable-5.2-namespace
mckaygerhard 2023-09-11 23:53:57 -04:00
parent 0edc870820
commit f0cea26ac5
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,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);
}