piece picker fix and bandwidth_limiter typo fix

This commit is contained in:
Arvid Norberg
2007-08-25 05:09:25 +00:00
parent d963625949
commit c0ffdc51c7
2 changed files with 2 additions and 1 deletions

View File

@@ -645,6 +645,7 @@ namespace libtorrent
if (j->finished + j->writing >= complete) return;
using std::swap;
swap(*j, *i);
if (j == m_downloads.begin()) break;
}
}