select() debugging

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2336 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2005-12-12 13:07:11 +00:00
parent 6ae77db310
commit 2554ac4d3f

View File

@ -139,12 +139,10 @@ bool SocketEngine::Wait(std::vector<int> &fdlist)
{
if (ref[fds[a]] & X_READBIT)
{
log(DEBUG,"Adding readable %d",fds[a]);
FD_SET (fds[a], &rfdset);
}
else
{
log(DEBUG,"Adding writeable %d",fds[a]);
FD_SET (fds[a], &wfdset);
}