Skip to content

Commit

Permalink
Refs #20262: Apply suggestions
Browse files Browse the repository at this point in the history
Signed-off-by: Jesus Perez <jesusperez@eprosima.com>
  • Loading branch information
jepemi authored and JesusPoderoso committed Feb 8, 2024
1 parent 45b281a commit fe0ae54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpp/rtps/transport/TCPTransportInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -912,10 +912,10 @@ void TCPTransportInterface::perform_listen_operation(
{
channel = channel_weak.lock();

remote_locator = remote_endpoint_to_locator(channel);

if (channel)
{
remote_locator = remote_endpoint_to_locator(channel);

uint32_t port = channel->local_endpoint().port();
set_name_to_current_thread("dds.tcp.%u", port);

Expand Down

0 comments on commit fe0ae54

Please sign in to comment.