Browse Source

fixed warnings

pull/404/head
orignal 9 years ago
parent
commit
8e09f3478f
  1. 3
      I2PTunnel.h
  2. 2
      SOCKS.cpp

3
I2PTunnel.h

@ -94,11 +94,10 @@ namespace client @@ -94,11 +94,10 @@ namespace client
private:
std::string m_WebircPass;
std::shared_ptr<const i2p::data::IdentityEx> m_From;
std::stringstream m_OutPacket, m_InPacket;
bool m_NeedsWebIrc;
std::string m_WebircPass;
};

2
SOCKS.cpp

@ -638,11 +638,9 @@ namespace proxy @@ -638,11 +638,9 @@ namespace proxy
{
LogPrint(eLogInfo, "SOCKS: forwarding to upstream");
EnterState(UPSTREAM_RESOLVE);
auto & service = GetOwner()->GetService();
boost::asio::ip::tcp::resolver::query q(m_UpstreamProxyAddress,boost::lexical_cast<std::string>(m_UpstreamProxyPort) );
m_proxy_resolver.async_resolve(q, std::bind(&SOCKSHandler::HandleUpstreamResolved, shared_from_this(),
std::placeholders::_1, std::placeholders::_2));
}
void SOCKSHandler::AsyncUpstreamSockRead()

Loading…
Cancel
Save