small important bugfix for DLE parser
This commit is contained in:
parent
9927dbb2e4
commit
c47bed0760
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user