aboutsummaryrefslogtreecommitdiffstats
path: root/src/socketengine_poll.cpp
diff options
context:
space:
mode:
authorGravatar w00t2008-08-24 23:03:42 +0000
committerGravatar w00t2008-08-24 23:03:42 +0000
commita8fc6bf14d4286bdbf610444b4016dcef1e81141 (patch)
tree2c9eaf3d22c9baf9149d86abe9a27ebb93c79736 /src/socketengine_poll.cpp
parentMinimally tested and working poll socket engine. This should work ok, but you... (diff)
Remove unnecessary logging
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10252 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengine_poll.cpp')
-rw-r--r--src/socketengine_poll.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/socketengine_poll.cpp b/src/socketengine_poll.cpp
index 62d14442f..67a68d456 100644
--- a/src/socketengine_poll.cpp
+++ b/src/socketengine_poll.cpp
@@ -30,7 +30,6 @@ PollEngine::~PollEngine()
bool PollEngine::AddFd(EventHandler* eh)
{
int fd = eh->GetFd();
- ServerInstance->Log(DEBUG, "trying to add fd %d", fd);
if ((fd < 0) || (fd > MAX_DESCRIPTORS))
return false;
@@ -44,12 +43,10 @@ bool PollEngine::AddFd(EventHandler* eh)
events[fd].fd = fd;
if (eh->Readable())
{
- ServerInstance->Log(DEBUG, "readable");
events[fd].events = POLLIN;
}
else
{
- ServerInstance->Log(DEBUG, "writable");
events[fd].events = POLLOUT;
}
@@ -97,8 +94,6 @@ int PollEngine::DispatchEvents()
int errcode;
int processed = 0;
- ServerInstance->Log(DEBUG, "poll returned %d", i);
-
if (i > 0)
{
for (fd = 0; fd < MAX_DESCRIPTORS && processed != i; fd++)
@@ -106,7 +101,6 @@ int PollEngine::DispatchEvents()
if (events[fd].revents)
processed++;
- ServerInstance->Log(DEBUG, "revents on %d are %d", fd, events[fd].revents);
if (events[fd].revents & POLLHUP)
{
if (ref[fd])