We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f194c4 commit e8c7b55Copy full SHA for e8c7b55
1 file changed
src/cpp/rtps/messages/MessageReceiver.cpp
@@ -959,6 +959,7 @@ bool MessageReceiver::proc_Submsg_DataFrag(
959
//FOUND THE READER.
960
//We ask the reader for a cachechange to store the information.
961
CacheChange_t ch;
962
+ ch.kind = ALIVE;
963
ch.writerGUID.guidPrefix = source_guid_prefix_;
964
valid &= CDRMessage::readEntityId(msg, &ch.writerGUID.entityId);
965
@@ -1031,7 +1032,6 @@ bool MessageReceiver::proc_Submsg_DataFrag(
1031
1032
uint32_t next_pos = msg->pos + payload_size;
1033
if (msg->length >= next_pos && payload_size > 0)
1034
{
- ch.kind = ALIVE;
1035
ch.serializedPayload.data = &msg->buffer[msg->pos];
1036
ch.serializedPayload.length = payload_size;
1037
ch.serializedPayload.max_size = payload_size;
0 commit comments