mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
use shared pointers
This commit is contained in:
parent
f0bc2a3645
commit
1015188c4e
3 changed files with 9 additions and 14 deletions
|
@ -346,20 +346,20 @@ namespace http {
|
|||
s << "<th>Idle Time</th>";
|
||||
s << "</th>";
|
||||
auto forward = i2p::client::context.GetForwardInfosFor(dest->GetIdentHash());
|
||||
for (auto & info : forward)
|
||||
for (auto info : forward)
|
||||
{
|
||||
s << "<tr>";
|
||||
s << "<td>" << info.RemoteIdent.ToBase32() << "</td>";
|
||||
s << "<td>";
|
||||
if(info.CurrentIBGW)
|
||||
s << info.CurrentIBGW->ToBase64().c_str();
|
||||
s << std::string(info.CurrentIBGW->ToBase64());
|
||||
else
|
||||
s << "(none)";
|
||||
s << "</td>";
|
||||
|
||||
s << "<td>";
|
||||
if(info.CurrentOBEP)
|
||||
s << info.CurrentOBEP->ToBase64().c_str();
|
||||
s << std::string(info.CurrentOBEP->ToBase64());
|
||||
else
|
||||
s << "(none)";
|
||||
s << "</td>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue