diff options
author | Attila Molnar <attilamolnar@hush.com> | 2013-07-12 10:28:37 -0700 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2013-07-12 10:28:37 -0700 |
commit | 538a89420955d55cc21d421fe1e961500591479d (patch) | |
tree | 36518ee140215a1f2a6a36f7f36247947dc456aa /src/socketengines/socketengine_ports.cpp | |
parent | be23ca74e47887d5e4306a82c214db42fff0a944 (diff) | |
parent | 525a104ef8a639c254d8960b620fe3eb22b34667 (diff) |
Merge pull request #588 from SaberUK/insp20+fix-socketengines
[2.0] Fix various socket engine bugs.
Diffstat (limited to 'src/socketengines/socketengine_ports.cpp')
-rw-r--r-- | src/socketengines/socketengine_ports.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socketengines/socketengine_ports.cpp b/src/socketengines/socketengine_ports.cpp index 52d799ddf..f7c547d45 100644 --- a/src/socketengines/socketengine_ports.cpp +++ b/src/socketengines/socketengine_ports.cpp @@ -77,7 +77,7 @@ PortsEngine::PortsEngine() { ServerInstance->Logs->Log("SOCKET", DEFAULT, "ERROR: Can't determine maximum number of open sockets!"); std::cout << "ERROR: Can't determine maximum number of open sockets!" << std::endl; - ServerInstance->Exit(EXIT_STATUS_SOCKETENGINE); + ServerInstance->QuickExit(EXIT_STATUS_SOCKETENGINE); } EngineHandle = port_create(); @@ -87,7 +87,7 @@ PortsEngine::PortsEngine() ServerInstance->Logs->Log("SOCKET",SPARSE,"ERROR: This is a fatal error, exiting now."); std::cout << "ERROR: Could not initialize socket engine: " << strerror(errno) << std::endl; std::cout << "ERROR: This is a fatal error, exiting now." << std::endl; - ServerInstance->Exit(EXIT_STATUS_SOCKETENGINE); + ServerInstance->QuickExit(EXIT_STATUS_SOCKETENGINE); } CurrentSetSize = 0; |