From 43002ba415c9bfb814008a8de97e704b590ee687 Mon Sep 17 00:00:00 2001 From: RaulSanchez Date: Fri, 18 Dec 2020 09:10:04 +0100 Subject: [PATCH] Refs #9475: Applied suggested changes Signed-off-by: RaulSanchez --- include/fastdds/rtps/messages/MessageReceiver.h | 2 +- src/cpp/rtps/messages/MessageReceiver.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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_; }