This commit is contained in:
Robin Müller 2022-09-28 17:00:28 +02:00
parent 7e0a5d5a9e
commit 04122ffec5
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ class DleParser {
Context(void* args) : userArgs(args) { setType(ContextType::PACKET_FOUND); }
void setType(ContextType type) {
this->type = type;
if (type == ContextType::PACKET_FOUND) {
error.first = ErrorTypes::NONE;
error.second.len = 0;