aboutsummaryrefslogtreecommitdiff
path: root/src/rss.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rss.c')
-rw-r--r--src/rss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rss.c b/src/rss.c
index 90b3ed6..442fb58 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -328,14 +328,14 @@ static int add_torrents_in_reverse(TransmissionSession *transmission_session, Bu
download_items_end--;
int torrent_name_index = 0;
for(; download_items_it != download_items_end && torrent_name_index < MAX_UPDATE_ITEMS; --download_items_it) {
- if(transmission_add_torrent(transmission_session, download_items_it->link, &torrent_names[torrent_name_index]) != 0) {
+ fprintf(stderr, "Starting download of torrent: %s (title: %s)\n", download_items_it->link, download_items_it->title);
+ if(transmission_add_torrent(transmission_session, download_items_it->link, NULL, &torrent_names[torrent_name_index]) != 0) {
fprintf(stderr, "Failed to add torrent: %s\n", download_items_it->link);
result = -1;
break;
}
added_download_items[torrent_name_index] = download_items_it;
++torrent_name_index;
- fprintf(stderr, "Starting download of torrent: %s (title: %s)\n", download_items_it->link, download_items_it->title);
/* Show notification that download has started? */
}