diff --git a/include/fastdds/rtps/messages/MessageReceiver.h b/include/fastdds/rtps/messages/MessageReceiver.h index e45f699e55b..fc1718c6953 100644 --- a/include/fastdds/rtps/messages/MessageReceiver.h +++ b/include/fastdds/rtps/messages/MessageReceiver.h @@ -92,7 +92,7 @@ class MessageReceiver #if HAVE_SECURITY //!Buffer to process the decoded RTPS message CDRMessage_t crypto_msg_; - //!Buffer to process each decoded RTPS submessage + //!Buffer to process each decoded RTPS sub-message CDRMessage_t crypto_submsg_; SerializedPayload_t crypto_payload_; #endif // if HAVE_SECURITY diff --git a/src/cpp/rtps/messages/MessageReceiver.cpp b/src/cpp/rtps/messages/MessageReceiver.cpp index 0471d841762..c2d0fe4715d 100644 --- a/src/cpp/rtps/messages/MessageReceiver.cpp +++ b/src/cpp/rtps/messages/MessageReceiver.cpp @@ -350,7 +350,7 @@ void MessageReceiver::processCDRMsg( { // The original CDRMessage buffer (msg) now points to the proprietary temporary buffer crypto_msg_. // The auxiliary buffer now points to the propietary temporary buffer crypto_submsg_. - // This way each decoded submessage will be process using the crypto_submsg_ buffer. + // This way each decoded sub-message will be processed using the crypto_submsg_ buffer. msg = auxiliary_buffer; auxiliary_buffer = &crypto_submsg_; }