From f10df80b09be99a7152c91d8cb3e7923d6c275b4 Mon Sep 17 00:00:00 2001 From: Eric Kok Date: Tue, 21 Feb 2012 23:44:58 +0100 Subject: [PATCH] Fixed removing of torrents in qBittorrent (issue 344). --- lib/.classpath | 2 +- .../org/transdroid/daemon/Qbittorrent/QbittorrentAdapter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/.classpath b/lib/.classpath index f2d4ba8a..c927cda8 100644 --- a/lib/.classpath +++ b/lib/.classpath @@ -2,6 +2,6 @@ - + diff --git a/lib/src/org/transdroid/daemon/Qbittorrent/QbittorrentAdapter.java b/lib/src/org/transdroid/daemon/Qbittorrent/QbittorrentAdapter.java index 4ab693f6..0d9b6703 100644 --- a/lib/src/org/transdroid/daemon/Qbittorrent/QbittorrentAdapter.java +++ b/lib/src/org/transdroid/daemon/Qbittorrent/QbittorrentAdapter.java @@ -125,7 +125,7 @@ public class QbittorrentAdapter implements IDaemonAdapter { // Remove a torrent RemoveTask removeTask = (RemoveTask) task; - makeRequest((removeTask.includingData()? "/command/deletePerm": "/command/delete"), new BasicNameValuePair("hash", removeTask.getTargetTorrent().getUniqueID())); + makeRequest((removeTask.includingData()? "/command/deletePerm": "/command/delete"), new BasicNameValuePair("hashes", removeTask.getTargetTorrent().getUniqueID())); return new DaemonTaskSuccessResult(task); case Pause: