mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 19:27:49 +02:00
Initial SAM cleanup
This commit is contained in:
parent
fa154cc4d6
commit
4643c92d33
6 changed files with 118 additions and 153 deletions
|
@ -727,7 +727,7 @@ namespace client
|
|||
sam_session.put("name", name);
|
||||
sam_session.put("address", i2p::client::context.GetAddressBook ().ToAddress(ident));
|
||||
|
||||
for (const auto& socket: it.second->ListSockets())
|
||||
for (const auto& socket: sam->ListSockets(it.first))
|
||||
{
|
||||
boost::property_tree::ptree stream;
|
||||
stream.put("type", socket->GetSocketType ());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue