mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
use boost::asio::address for address
This commit is contained in:
@@ -139,7 +139,7 @@ namespace i2p
|
||||
auto address = r->GetNTCPAddress ();
|
||||
if (address)
|
||||
{
|
||||
session = new i2p::ntcp::NTCPClient (m_Service, address->host.c_str (), address->port, *r);
|
||||
session = new i2p::ntcp::NTCPClient (m_Service, address->host, address->port, *r);
|
||||
AddNTCPSession (session);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user