Browse Source

Remove unnecessary RemoteLeaseSet

pull/131/head
Francisco Blas (klondike) Izquierdo Riera 10 years ago
parent
commit
b88b04515e
  1. 3
      I2PTunnel.cpp
  2. 1
      I2PTunnel.h

3
I2PTunnel.cpp

@ -169,8 +169,7 @@ namespace client
I2PClientTunnel::I2PClientTunnel (const std::string& destination, int port, ClientDestination * localDestination): I2PClientTunnel::I2PClientTunnel (const std::string& destination, int port, ClientDestination * localDestination):
I2PTunnel (localDestination), I2PTunnel (localDestination),
m_Acceptor (GetService (), boost::asio::ip::tcp::endpoint (boost::asio::ip::tcp::v4(), port)), m_Acceptor (GetService (), boost::asio::ip::tcp::endpoint (boost::asio::ip::tcp::v4(), port)),
m_Timer (GetService ()), m_Destination (destination), m_DestinationIdentHash (nullptr), m_Timer (GetService ()), m_Destination (destination), m_DestinationIdentHash (nullptr)
m_RemoteLeaseSet (nullptr)
{ {
} }

1
I2PTunnel.h

@ -101,7 +101,6 @@ namespace client
boost::asio::deadline_timer m_Timer; boost::asio::deadline_timer m_Timer;
std::string m_Destination; std::string m_Destination;
const i2p::data::IdentHash * m_DestinationIdentHash; const i2p::data::IdentHash * m_DestinationIdentHash;
const i2p::data::LeaseSet * m_RemoteLeaseSet;
}; };
class I2PServerTunnel: public I2PTunnel class I2PServerTunnel: public I2PTunnel

Loading…
Cancel
Save