Compare commits

...

1 Commits

Author SHA1 Message Date
04122ffec5 dumb bug 2022-09-28 17:00:28 +02:00

View File

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