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.setType(ContextType::PACKET_FOUND);
|
||||||
ctx.decodedPacket.first = decodedBuf.first;
|
ctx.decodedPacket.first = decodedBuf.first;
|
||||||
ctx.decodedPacket.second = decodedLen;
|
ctx.decodedPacket.second = decodedLen;
|
||||||
readSize = vectorIdx + 1;
|
readSize = ++vectorIdx;
|
||||||
return returnvalue::OK;
|
return returnvalue::OK;
|
||||||
} else {
|
} else {
|
||||||
// invalid packet, skip.
|
// invalid packet, skip.
|
||||||
|
Loading…
Reference in New Issue
Block a user