1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-02-02 06:54:15 +00:00

fixed typo

This commit is contained in:
orignal 2015-01-31 10:39:29 -05:00
parent 908404ab62
commit feffbc9330
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,6 @@ namespace client
auto ls = i2p::data::netdb.FindLeaseSet (ident); auto ls = i2p::data::netdb.FindLeaseSet (ident);
if (ls) if (ls)
{ {
ls = std::make_shared<i2p::data::LeaseSet> (*ls);
m_RemoteLeaseSets[ident] = ls; m_RemoteLeaseSets[ident] = ls;
return ls; return ls;
} }

View File

@ -351,9 +351,10 @@ namespace tunnel
if (msg) if (msg)
{ {
uint32_t prevTunnelID = 0, tunnelID = 0; uint32_t prevTunnelID = 0, tunnelID = 0;
TunnelBase * prevTunnel = nullptr, * tunnel = nullptr; TunnelBase * prevTunnel = nullptr;
do do
{ {
TunnelBase * tunnel = nullptr;
uint8_t typeID = msg->GetTypeID (); uint8_t typeID = msg->GetTypeID ();
switch (typeID) switch (typeID)
{ {