Browse Source

* fix build

pull/358/head
hagen 9 years ago
parent
commit
97ca8b7ada
  1. 2
      I2PControl.cpp
  2. 2
      I2PControl.h

2
I2PControl.cpp

@ -34,7 +34,7 @@ namespace client
m_SSLContext (m_Service, boost::asio::ssl::context::sslv23), m_SSLContext (m_Service, boost::asio::ssl::context::sslv23),
m_ShutdownTimer (m_Service) m_ShutdownTimer (m_Service)
{ {
GetOption("i2pcontrol.password", m_Password); i2p::config::GetOption("i2pcontrol.password", m_Password);
// certificate // certificate
auto path = GetPath (); auto path = GetPath ();

2
I2PControl.h

@ -47,6 +47,8 @@ namespace client
const char I2P_CONTROL_PARAM_ECHO[] = "Echo"; const char I2P_CONTROL_PARAM_ECHO[] = "Echo";
const char I2P_CONTROL_PARAM_RESULT[] = "Result"; const char I2P_CONTROL_PARAM_RESULT[] = "Result";
const char I2P_CONTROL_I2PCONTROL_PASSWORD[] = "i2pcontrol.password";
// RouterInfo requests // RouterInfo requests
const char I2P_CONTROL_ROUTER_INFO_UPTIME[] = "i2p.router.uptime"; const char I2P_CONTROL_ROUTER_INFO_UPTIME[] = "i2p.router.uptime";
const char I2P_CONTROL_ROUTER_INFO_VERSION[] = "i2p.router.version"; const char I2P_CONTROL_ROUTER_INFO_VERSION[] = "i2p.router.version";

Loading…
Cancel
Save