Todo etc.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@412 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-04-24 14:25:50 +00:00
parent f139621c4c
commit 2f77d1bafa
2 changed files with 6 additions and 1 deletions
+2
View File
@@ -30,5 +30,7 @@ Bug: Add the same torrent while it is hash checking.
Bug: Using ^s on a bad torrent does not catch the exception.
Show torrent creation date?
RELEASE:
+4 -1
View File
@@ -37,6 +37,9 @@ namespace core {
void
Poll::poll(utils::Timer timeout) {
// Do we want to clear m_maxFd in torrent::mark?
//m_maxFd = 0;
FD_ZERO(m_readSet);
FD_ZERO(m_writeSet);
FD_ZERO(m_exceptSet);
@@ -46,7 +49,7 @@ Poll::poll(utils::Timer timeout) {
torrent::mark(m_readSet, m_writeSet, m_exceptSet, &m_maxFd);
if (m_curlStack.is_busy()) {
int n;
int n = 0;
m_curlStack.fdset(m_readSet, m_writeSet, m_exceptSet, &n);
m_maxFd = std::max(m_maxFd, n);