]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/socketengine_epoll.cpp
Whoops, i left a value out of the array, and gcc didnt warn!
[user/henk/code/inspircd.git] / src / socketengine_epoll.cpp
index 732ce1e7761be49d4585ff634d819513d0e4d2c4..03a3f8f7c12ca2fd164f5455d1d2858f4bcfc43b 100644 (file)
@@ -26,7 +26,7 @@ EPollEngine::EPollEngine(InspIRCd* Instance) : SocketEngine(Instance)
                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;
 }
@@ -113,7 +113,6 @@ int EPollEngine::DispatchEvents()
        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)