From 9f98fcd46212f8eb6acfc7a43e95201734a1ed06 Mon Sep 17 00:00:00 2001 From: Eric Kok Date: Sun, 2 Sep 2012 19:00:54 +0200 Subject: [PATCH] Bugfix relating to issue 412; version number was used incorrectly. --- .../org/transdroid/daemon/Qbittorrent/QbittorrentAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/org/transdroid/daemon/Qbittorrent/QbittorrentAdapter.java b/lib/src/org/transdroid/daemon/Qbittorrent/QbittorrentAdapter.java index 398a4bd5..ca07bbce 100644 --- a/lib/src/org/transdroid/daemon/Qbittorrent/QbittorrentAdapter.java +++ b/lib/src/org/transdroid/daemon/Qbittorrent/QbittorrentAdapter.java @@ -124,7 +124,7 @@ public class QbittorrentAdapter implements IDaemonAdapter { case Retrieve: // Request all torrents from server - JSONArray result = new JSONArray(makeRequest(version > 30000? "/json/torrents": "/json/events")); + JSONArray result = new JSONArray(makeRequest(version >= 30000? "/json/torrents": "/json/events")); return new RetrieveTaskSuccessResult((RetrieveTask) task, parseJsonTorrents(result),null); case GetTorrentDetails: