mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 07:02:30 +00:00
* Added some missing includes.
* Changed more key bindings in ElementDownloadList to commands. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1038 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -98,8 +98,7 @@ Download::priority() {
|
||||
|
||||
void
|
||||
Download::set_priority(uint32_t p) {
|
||||
if (p >= 4)
|
||||
throw torrent::input_error("Priority out of range.");
|
||||
p %= 4;
|
||||
|
||||
// Seeding torrents get half the priority of unfinished torrents.
|
||||
if (!is_done())
|
||||
|
||||
Reference in New Issue
Block a user