mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-15 22:52:31 +00:00
* Added '-D' flag which turns of redirects for deprecated commands. Use this to ensure your scripts/webui.
* Moved DownloadInfo to src/torrent. * Applied the magnet-uri patch. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1144 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -132,9 +132,9 @@ print_download_title(char* first, char* last, core::Download* d) {
|
||||
|
||||
char*
|
||||
print_download_info(char* first, char* last, core::Download* d) {
|
||||
if (!d->download()->is_open())
|
||||
if (!d->download()->info()->is_open())
|
||||
first = print_buffer(first, last, "[CLOSED] ");
|
||||
else if (!d->download()->is_active())
|
||||
else if (!d->download()->info()->is_active())
|
||||
first = print_buffer(first, last, "[OPEN] ");
|
||||
else
|
||||
first = print_buffer(first, last, " ");
|
||||
@@ -151,7 +151,7 @@ print_download_info(char* first, char* last, core::Download* d) {
|
||||
(double)d->download()->down_rate()->rate() / (1 << 10),
|
||||
(double)d->download()->up_rate()->total() / (1 << 20));
|
||||
|
||||
if (d->download()->is_active() && !d->is_done()) {
|
||||
if (d->download()->info()->is_active() && !d->is_done()) {
|
||||
first = print_buffer(first, last, " ");
|
||||
first = print_download_percentage_done(first, last, d);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user