use boost::asio::address for address

This commit is contained in:
orignal committed 2014-01-21 16:07:16 -05:00
1 parent 224b423522
commit 2d428fd090
6 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -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