Changeset 1094 for trunk/libtorrent/src/torrent/poll_kqueue.cc
- Timestamp:
- 06/10/09 08:25:38 (3 years ago)
- Files:
-
- 1 modified
-
trunk/libtorrent/src/torrent/poll_kqueue.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtorrent/src/torrent/poll_kqueue.cc
r1074 r1094 55 55 #endif 56 56 57 #include <assert.h> 58 57 59 namespace torrent { 58 60 … … 89 91 PollKQueue::modify(Event* event, unsigned short op, short mask) { 90 92 // Flush the changed filters to the kernel if the buffer is full. 91 if (m_changedEvents == m_table.size())92 flush_events();93 94 93 if (m_changedEvents == m_maxEvents) { 95 94 if (kevent(m_fd, m_changes, m_changedEvents, NULL, 0, NULL) == -1)
