diff options
| author | 2013-07-12 10:28:37 -0700 | |
|---|---|---|
| committer | 2013-07-12 10:28:37 -0700 | |
| commit | 538a89420955d55cc21d421fe1e961500591479d (patch) | |
| tree | 36518ee140215a1f2a6a36f7f36247947dc456aa /src/socketengines/socketengine_kqueue.cpp | |
| parent | m_userip Fix incorrect "variable may be used uninitialized" warning shown by ... (diff) | |
| parent | Fix the Poll socket engine on BSD. (diff) | |
Merge pull request #588 from SaberUK/insp20+fix-socketengines
[2.0] Fix various socket engine bugs.
Diffstat (limited to 'src/socketengines/socketengine_kqueue.cpp')
| -rw-r--r-- | src/socketengines/socketengine_kqueue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socketengines/socketengine_kqueue.cpp b/src/socketengines/socketengine_kqueue.cpp index e24146943..8694a0bdd 100644 --- a/src/socketengines/socketengine_kqueue.cpp +++ b/src/socketengines/socketengine_kqueue.cpp @@ -74,7 +74,7 @@ KQueueEngine::KQueueEngine() { 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); } this->RecoverFromFork(); @@ -97,7 +97,7 @@ void KQueueEngine::RecoverFromFork() ServerInstance->Logs->Log("SOCKET",DEFAULT, "ERROR: this is a fatal error, exiting now."); std::cout << "ERROR: Could not initialize socket engine. Your kernel probably does not have the proper features." << 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; } |
