Show
Ignore:
Timestamp:
06/10/09 08:25:38 (3 years ago)
Author:
rakshasa
Message:

* Added flag to bencode when unordered bencoded strings are read.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/libtorrent/src/torrent/poll_kqueue.cc

    r1074 r1094  
    5555#endif 
    5656 
     57#include <assert.h> 
     58 
    5759namespace torrent { 
    5860 
     
    8991PollKQueue::modify(Event* event, unsigned short op, short mask) { 
    9092  // Flush the changed filters to the kernel if the buffer is full. 
    91   if (m_changedEvents == m_table.size()) 
    92     flush_events(); 
    93  
    9493  if (m_changedEvents == m_maxEvents) { 
    9594    if (kevent(m_fd, m_changes, m_changedEvents, NULL, 0, NULL) == -1)