Skip to content

Commit 6eedf54

Browse files
authored
add separator charactor between host and port (#941)
1 parent cf6cb81 commit 6eedf54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/ylt/coro_rpc/impl/coro_rpc_client.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ class coro_rpc_client {
490490
ELOG_TRACE << "start connect to endpoint lists. total endpoint count:"
491491
<< eps->size()
492492
<< ", the first endpoint is: " << (*eps)[0].address().to_string()
493-
<< std::to_string((*eps)[0].port());
493+
<< ":" << std::to_string((*eps)[0].port());
494494
asio::ip::tcp::endpoint endpoint;
495495
std::tie(ec, endpoint) = co_await coro_io::async_connect(
496496
&control_->executor_, control_->socket_, *eps);

0 commit comments

Comments
 (0)