ServerInstance->Log(SPARSE,"ERROR: Your kernel probably does not have the proper features. This is a fatal error, exiting now.");
printf("ERROR: Could not initialize socket engine: %s\n", strerror(errno));
printf("ERROR: Your kernel probably does not have the proper features. This is a fatal error, exiting now.\n");
- InspIRCd::Exit(EXIT_STATUS_SOCKETENGINE);
+ ServerInstance->Exit(EXIT_STATUS_SOCKETENGINE);
}
CurrentSetSize = 0;
}
EPollEngine::~EPollEngine()
{
- close(EngineHandle);
+ this->Close(EngineHandle);
}
bool EPollEngine::AddFd(EventHandler* eh)
socklen_t codesize;
int errcode;
int i = epoll_wait(EngineHandle, events, MAX_DESCRIPTORS, 1000);
- ServerInstance->Log(DEBUG,"%d events", i);
for (int j = 0; j < i; j++)
{
if (events[j].events & EPOLLHUP)