Initial SAM cleanup

This commit is contained in:
Jeff Becker 2018-04-24 09:45:16 -04:00
parent fa154cc4d6
commit 4643c92d33
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05
6 changed files with 118 additions and 153 deletions

View file

@ -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 ());