something is wrong
This commit is contained in:
parent
49747fc8a4
commit
d1630cdc4c
@ -68,7 +68,7 @@ ReturnValue_t DleParser::parseRingBuf(size_t& readSize) {
|
||||
ctx.setType(ContextType::PACKET_FOUND);
|
||||
ctx.decodedPacket.first = decodedBuf.first;
|
||||
ctx.decodedPacket.second = decodedLen;
|
||||
readSize = vectorIdx + 1;
|
||||
readSize = ++vectorIdx;
|
||||
return returnvalue::OK;
|
||||
} else {
|
||||
// invalid packet, skip.
|
||||
|
Loading…
Reference in New Issue
Block a user