Browse Source

fixed typo

pull/151/head
orignal 10 years ago
parent
commit
feffbc9330
  1. 1
      Destination.cpp
  2. 3
      Tunnel.cpp

1
Destination.cpp

@ -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;
} }

3
Tunnel.cpp

@ -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)
{ {

Loading…
Cancel
Save