]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
A few lines here are loglevel DEFAULT and should be DEBUG.
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 11 Nov 2006 17:37:56 +0000 (17:37 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 11 Nov 2006 17:37:56 +0000 (17:37 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5696 e03df62e-2008-0410-955e-edbf42e46eb7

src/socketengine_epoll.cpp
src/socketengine_kqueue.cpp
src/socketengine_select.cpp

index 54d6ff7c1eca2e0e19bbf5adc9096cac747d30e3..7107511bd14736c4f646732d015e65511780aac7 100644 (file)
@@ -43,17 +43,17 @@ bool EPollEngine::AddFd(EventHandler* eh)
        int fd = eh->GetFd();
        if ((fd < 0) || (fd > MAX_DESCRIPTORS))
        {
        int fd = eh->GetFd();
        if ((fd < 0) || (fd > MAX_DESCRIPTORS))
        {
-               ServerInstance->Log(DEFAULT,"ERROR: FD of %d added above max of %d",fd,MAX_DESCRIPTORS);
+               ServerInstance->Log(DEBUG,"ERROR: FD of %d added above max of %d",fd,MAX_DESCRIPTORS);
                return false;
        }
        if (GetRemainingFds() <= 1)
        {
                return false;
        }
        if (GetRemainingFds() <= 1)
        {
-               ServerInstance->Log(DEFAULT,"ERROR: System out of file descriptors!");
+               ServerInstance->Log(DEBUG,"ERROR: System out of file descriptors!");
                return false;
        }
        if (ref[fd])
        {
                return false;
        }
        if (ref[fd])
        {
-               ServerInstance->Log(DEFAULT,"Slot %d already occupied",fd);
+               ServerInstance->Log(DEBUG,"Slot %d already occupied",fd);
                return false;
        }
 
                return false;
        }
 
index b3605b82b82030a3167e0ddb57fc777fd7ece7ba..cad88d3939725717a7ebfbb602685a9a8b074d0f 100644 (file)
@@ -49,18 +49,18 @@ bool KQueueEngine::AddFd(EventHandler* eh)
 
        if ((fd < 0) || (fd > MAX_DESCRIPTORS))
        {
 
        if ((fd < 0) || (fd > MAX_DESCRIPTORS))
        {
-               ServerInstance->Log(DEFAULT,"ERROR: FD of %d added above max of %d",fd,MAX_DESCRIPTORS);
+               ServerInstance->Log(DEBUG,"ERROR: FD of %d added above max of %d",fd,MAX_DESCRIPTORS);
                return false;
        }
        if (GetRemainingFds() <= 1)
        {
                return false;
        }
        if (GetRemainingFds() <= 1)
        {
-               ServerInstance->Log(DEFAULT,"ERROR: System out of file descriptors!");
+               ServerInstance->Log(DEBUG,"ERROR: System out of file descriptors!");
                return false;
        }
 
        if (ref[fd])
        {
                return false;
        }
 
        if (ref[fd])
        {
-               ServerInstance->Log(DEFAULT,"ERROR: Slot already occupied");
+               ServerInstance->Log(DEBUG,"ERROR: Slot already occupied");
                return false;
        }
 
                return false;
        }
 
index abc1b953ba3d80f53931f831e3b20c26dc7a74df..19a2ec882af10b1eff96e423db52f4d059c45996 100644 (file)
@@ -37,12 +37,12 @@ bool SelectEngine::AddFd(EventHandler* eh)
        int fd = eh->GetFd();
        if ((fd < 0) || (fd > MAX_DESCRIPTORS))
        {
        int fd = eh->GetFd();
        if ((fd < 0) || (fd > MAX_DESCRIPTORS))
        {
-               ServerInstance->Log(DEFAULT,"ERROR: FD of %d added above max of %d",fd,MAX_DESCRIPTORS);
+               ServerInstance->Log(DEBUG,"ERROR: FD of %d added above max of %d",fd,MAX_DESCRIPTORS);
                return false;
        }
        if (GetRemainingFds() <= 1)
        {
                return false;
        }
        if (GetRemainingFds() <= 1)
        {
-               ServerInstance->Log(DEFAULT,"ERROR: System out of file descriptors!");
+               ServerInstance->Log(DEBUG,"ERROR: System out of file descriptors!");
                return false;
        }
 
                return false;
        }