Browse Source

typo: stoped->stopped

pull/158/head
multikatt 10 years ago
parent
commit
dcad550a2f
  1. 14
      ClientContext.cpp
  2. 10
      Daemon.cpp
  3. 6
      api.cpp

14
ClientContext.cpp

@ -93,45 +93,45 @@ namespace client
m_HttpProxy->Stop(); m_HttpProxy->Stop();
delete m_HttpProxy; delete m_HttpProxy;
m_HttpProxy = nullptr; m_HttpProxy = nullptr;
LogPrint("HTTP Proxy stoped"); LogPrint("HTTP Proxy stopped");
m_SocksProxy->Stop(); m_SocksProxy->Stop();
delete m_SocksProxy; delete m_SocksProxy;
m_SocksProxy = nullptr; m_SocksProxy = nullptr;
LogPrint("SOCKS Proxy stoped"); LogPrint("SOCKS Proxy stopped");
if (m_IrcTunnel) if (m_IrcTunnel)
{ {
m_IrcTunnel->Stop (); m_IrcTunnel->Stop ();
delete m_IrcTunnel; delete m_IrcTunnel;
m_IrcTunnel = nullptr; m_IrcTunnel = nullptr;
LogPrint("IRC tunnel stoped"); LogPrint("IRC tunnel stopped");
} }
if (m_ServerTunnel) if (m_ServerTunnel)
{ {
m_ServerTunnel->Stop (); m_ServerTunnel->Stop ();
delete m_ServerTunnel; delete m_ServerTunnel;
m_ServerTunnel = nullptr; m_ServerTunnel = nullptr;
LogPrint("Server tunnel stoped"); LogPrint("Server tunnel stopped");
} }
if (m_SamBridge) if (m_SamBridge)
{ {
m_SamBridge->Stop (); m_SamBridge->Stop ();
delete m_SamBridge; delete m_SamBridge;
m_SamBridge = nullptr; m_SamBridge = nullptr;
LogPrint("SAM brdige stoped"); LogPrint("SAM brdige stopped");
} }
if (m_BOBCommandChannel) if (m_BOBCommandChannel)
{ {
m_BOBCommandChannel->Stop (); m_BOBCommandChannel->Stop ();
delete m_BOBCommandChannel; delete m_BOBCommandChannel;
m_BOBCommandChannel = nullptr; m_BOBCommandChannel = nullptr;
LogPrint("BOB command channel stoped"); LogPrint("BOB command channel stopped");
} }
if (m_I2PControlService) if (m_I2PControlService)
{ {
m_I2PControlService->Stop (); m_I2PControlService->Stop ();
delete m_I2PControlService; delete m_I2PControlService;
m_I2PControlService = nullptr; m_I2PControlService = nullptr;
LogPrint("I2PControl stoped"); LogPrint("I2PControl stopped");
} }
for (auto it: m_Destinations) for (auto it: m_Destinations)

10
Daemon.cpp

@ -128,15 +128,15 @@ namespace i2p
{ {
LogPrint("Shutdown started."); LogPrint("Shutdown started.");
i2p::client::context.Stop(); i2p::client::context.Stop();
LogPrint("Client stoped"); LogPrint("Client stopped");
i2p::tunnel::tunnels.Stop(); i2p::tunnel::tunnels.Stop();
LogPrint("Tunnels stoped"); LogPrint("Tunnels stopped");
i2p::transport::transports.Stop(); i2p::transport::transports.Stop();
LogPrint("Transports stoped"); LogPrint("Transports stopped");
i2p::data::netdb.Stop(); i2p::data::netdb.Stop();
LogPrint("NetDB stoped"); LogPrint("NetDB stopped");
d.httpServer->Stop(); d.httpServer->Stop();
LogPrint("HTTP Server stoped"); LogPrint("HTTP Server stopped");
#ifdef USE_UPNP #ifdef USE_UPNP
i2p::UPnP::upnpc.Stop(); i2p::UPnP::upnpc.Stop();
#endif #endif

6
api.cpp

@ -39,11 +39,11 @@ namespace api
{ {
LogPrint("Shutdown started."); LogPrint("Shutdown started.");
i2p::tunnel::tunnels.Stop(); i2p::tunnel::tunnels.Stop();
LogPrint("Tunnels stoped"); LogPrint("Tunnels stopped");
i2p::transport::transports.Stop(); i2p::transport::transports.Stop();
LogPrint("Transports stoped"); LogPrint("Transports stopped");
i2p::data::netdb.Stop(); i2p::data::netdb.Stop();
LogPrint("NetDB stoped"); LogPrint("NetDB stopped");
StopLog (); StopLog ();
} }

Loading…
Cancel
Save