diff options
author | Adam <Adam@anope.org> | 2014-02-04 16:11:43 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-02-04 16:11:43 -0500 |
commit | 7525d32ac0d85ff1957f61ec653f78702093a8a7 (patch) | |
tree | bd03b0e64ee1cbd68c6fb5faca633e8d08c8c1be /src/socketengines | |
parent | 26fecc0bf2c72b9a0dea09c92ed89f78181f39f6 (diff) |
Fix new file descriptor debug log message in socketengine_poll to show the correct events
Diffstat (limited to 'src/socketengines')
-rw-r--r-- | src/socketengines/socketengine_poll.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socketengines/socketengine_poll.cpp b/src/socketengines/socketengine_poll.cpp index ea7780686..e38e0fac1 100644 --- a/src/socketengines/socketengine_poll.cpp +++ b/src/socketengines/socketengine_poll.cpp @@ -137,7 +137,7 @@ bool PollEngine::AddFd(EventHandler* eh, int event_mask) events[index].fd = fd; events[index].events = mask_to_poll(event_mask); - ServerInstance->Logs->Log("SOCKET", DEBUG,"New file descriptor: %d (%d; index %d)", fd, events[fd].events, index); + ServerInstance->Logs->Log("SOCKET", DEBUG,"New file descriptor: %d (%d; index %d)", fd, events[index].events, index); SocketEngine::SetEventMask(eh, event_mask); CurrentSetSize++; return true; |