This commit is contained in:
Doug Hoyte
2024-08-29 22:13:01 -04:00
parent 058c97f856
commit 454bb79291

View File

@ -53,8 +53,8 @@ struct PackedEventView {
std::string_view b = buf.substr(88); std::string_view b = buf.substr(88);
while (b.size()) { while (b.size()) {
bool done = cb(b[0], b.substr(2, (size_t)b[1])); bool ret = cb(b[0], b.substr(2, (size_t)b[1]));
if (done) break; if (!ret) break;
b = b.substr(2 + b[1]); b = b.substr(2 + b[1]);
} }
} }