Skip to content

Commit

Permalink
Apply suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
  • Loading branch information
cferreiragonz and MiguelCompany authored Mar 7, 2024
1 parent c7be6fe commit dae669b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/rtps/transport/TCPTransportInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ Locator TCPTransportInterface::remote_endpoint_to_locator(
{
Locator locator;
asio::error_code ec;
auto endpoint = channel->local_endpoint(ec);
auto endpoint = channel->remote_endpoint(ec);
if (ec)
{
LOCATOR_INVALID(locator);
Expand Down

0 comments on commit dae669b

Please sign in to comment.