From 1df53aa819bda9dfb3cd8bd92afd101c38d4e101 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 23 May 2012 15:18:30 +0000 Subject: [PATCH] fixed reversed semantics of queue_up() and queue_down() --- ChangeLog | 1 + src/torrent_handle.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c5fe43300..d5ff44f84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ + * fixed reversed semantics of queue_up() and queue_down() * added missing functions to python bindings (file_priority()) * fixed low_prio_disk support on linux * fixed time critical piece accounting in the request queue diff --git a/src/torrent_handle.cpp b/src/torrent_handle.cpp index d921c65d2..3e32ec99b 100644 --- a/src/torrent_handle.cpp +++ b/src/torrent_handle.cpp @@ -481,13 +481,13 @@ namespace libtorrent void torrent_handle::queue_position_up() const { INVARIANT_CHECK; - TORRENT_ASYNC_CALL(queue_down); + TORRENT_ASYNC_CALL(queue_up); } void torrent_handle::queue_position_down() const { INVARIANT_CHECK; - TORRENT_ASYNC_CALL(queue_up); + TORRENT_ASYNC_CALL(queue_down); } void torrent_handle::queue_position_top() const