mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
add an assert for an NLPacketList segment that is oversized
This commit is contained in:
parent
cafa8b65f5
commit
4c8f32ce7b
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ qint64 NLPacketList::writeData(const char* data, qint64 maxSize) {
|
|||
// but the PacketList is not going to be sent ordered
|
||||
qDebug() << "Error in PacketList::writeData - attempted to write a segment to an unordered packet that is"
|
||||
<< "larger than the payload size.";
|
||||
return -1;
|
||||
Q_ASSERT(false);
|
||||
}
|
||||
|
||||
// copy from currentPacket where the segment started to the beginning of the newPacket
|
||||
|
|
Loading…
Reference in a new issue