mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-11 18:26:10 +00:00
fixed count forcing null byte at the end of query string
This commit is contained in:
@@ -12,6 +12,7 @@ VersionParser::VersionParser(const std::string &from_string) {
|
||||
std::istringstream tokenStream(from_string);
|
||||
while (std::getline(tokenStream, token, '.')) {
|
||||
data.emplace_back(std::stol(token));
|
||||
split.emplace_back(token);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user