* 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:
rakshasa
2010-03-15 16:42:05 +00:00
parent ded689d3ff
commit 19be810642
14 changed files with 138 additions and 24 deletions
+3 -3
View File
@@ -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);