From 92ca25c695cc0122815ac2395e54a4f0c6a3229f Mon Sep 17 00:00:00 2001 From: Jesus Perez Date: Tue, 5 Dec 2023 07:43:37 +0100 Subject: [PATCH] Refs #19939: Uncrustify Signed-off-by: Jesus Perez --- src/cpp/rtps/transport/TCPTransportInterface.cpp | 6 +++--- test/blackbox/common/BlackboxTestsTransportTCP.cpp | 2 +- test/blackbox/common/TCPReqRepHelloWorldReplier.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cpp/rtps/transport/TCPTransportInterface.cpp b/src/cpp/rtps/transport/TCPTransportInterface.cpp index 7779e8f114..2fd9a2d60e 100644 --- a/src/cpp/rtps/transport/TCPTransportInterface.cpp +++ b/src/cpp/rtps/transport/TCPTransportInterface.cpp @@ -930,9 +930,9 @@ void TCPTransportInterface::perform_listen_operation( TransportReceiverInterface* receiver = it->second.first; ReceiverInUseCV* receiver_in_use = it->second.second; receiver_in_use->cv.wait(scopedLock, [&]() - { - return receiver_in_use->in_use == false; - }); + { + return receiver_in_use->in_use == false; + }); if (TCPChannelResource::eConnectionStatus::eConnecting < channel->connection_status()) { receiver_in_use->in_use = true; diff --git a/test/blackbox/common/BlackboxTestsTransportTCP.cpp b/test/blackbox/common/BlackboxTestsTransportTCP.cpp index 878908a5fc..1751654532 100644 --- a/test/blackbox/common/BlackboxTestsTransportTCP.cpp +++ b/test/blackbox/common/BlackboxTestsTransportTCP.cpp @@ -615,7 +615,7 @@ TEST_P(TransportTCP, TCPv6_copy) EXPECT_EQ(tcpv6_transport_copy, tcpv6_transport); } -// Test connection is successfully restablished after dropping and relaunching a TCP client (requester), +// Test connection is successfully restablished after dropping and relaunching a TCP client (requester), // when the server's listening thread for the old client hasn't processed all its messages. // Issue -> https://github.com/eProsima/Fast-DDS/issues/2409 // Issue -> https://github.com/eProsima/Fast-DDS/issues/4026 diff --git a/test/blackbox/common/TCPReqRepHelloWorldReplier.cpp b/test/blackbox/common/TCPReqRepHelloWorldReplier.cpp index 6b03db654f..df68d2336a 100644 --- a/test/blackbox/common/TCPReqRepHelloWorldReplier.cpp +++ b/test/blackbox/common/TCPReqRepHelloWorldReplier.cpp @@ -134,7 +134,7 @@ void TCPReqRepHelloWorldReplier::init( puattr.topic.topicDataType = type_.getName(); puattr.topic.topicName = "HelloWorldTopicReply"; configPublisher("Reply"); - if(use_bussy_listener) + if (use_bussy_listener) { reply_publisher_ = Domain::createPublisher(participant_, puattr, &reply_bussy_listener_); }