Compare commits

...

1 Commits

Author SHA1 Message Date
Robin Müller 04122ffec5 dumb bug 2022-09-28 17:00:28 +02:00
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;