fix the implements of client enhanced information
* miscmatch of a variable pos
This commit is contained in:
parent
0edc870820
commit
f0cea26ac5
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user