mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-08 19:22:29 +00:00
* Threaded XMLRPC support. Sponsored by Xirvik.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1123 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -111,10 +111,6 @@ PollManagerSelect::poll_simple(rak::timer timeout) {
|
||||
std::memset(m_readSet, 0, 3 * m_setSize);
|
||||
|
||||
unsigned int maxFd = currentPoll->fdset(m_readSet, m_writeSet, m_errorSet);
|
||||
// unsigned int maxFd = 0;
|
||||
|
||||
if ((unsigned int)std::count((char*)m_readSet, (char*)m_readSet + 3 * m_setSize, 0) != 3 * m_setSize)
|
||||
throw torrent::internal_error("Got stray bits set.");
|
||||
|
||||
timeval t = timeout.tval();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user