mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 12:09:03 -04:00
select() debugging
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2336 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
6ae77db310
commit
2554ac4d3f
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user