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 7cafd40 commit 83dfa07Copy full SHA for 83dfa07
1 file changed
src/cpp/rtps/messages/RTPSMessageGroup.cpp
@@ -356,13 +356,12 @@ void RTPSMessageGroup::send()
356
{
357
if (endpoint_ && sender_)
358
359
- CDRMessage_t* msgToSend = header_msg_;
360
-
361
if (header_msg_->length > RTPSMESSAGE_HEADER_SIZE)
362
363
std::lock_guard<RTPSMessageSenderInterface> lock(*sender_);
364
365
#if HAVE_SECURITY
+ CDRMessage_t* msgToSend = header_msg_;
366
// TODO(Ricardo) Control message size if it will be encrypted.
367
if (participant_->security_attributes().is_rtps_protected && endpoint_->supports_rtps_protection())
368
0 commit comments