summaryrefslogtreecommitdiff
path: root/src/requests.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-20 06:58:27 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-20 06:58:27 +0000
commit748f906b8a5f9b98e4a44e7c75043285b7dbebbe (patch)
treee992bf85f02755d8e6e3d922b7ae4a2ee4702627 /src/requests.c
parent762cbfb2daba6a8ad62c70ebefd3420850e7ff81 (diff)
issue 78 - contributed patch for drag'n'drop support
Diffstat (limited to 'src/requests.c')
-rw-r--r--src/requests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/requests.c b/src/requests.c
index cc1f7ac..c77217d 100644
--- a/src/requests.c
+++ b/src/requests.c
@@ -143,7 +143,7 @@ JsonNode *torrent_get(gint64 id)
JsonObject *args = node_get_arguments(root);
JsonArray *fields = json_array_new();
- if (id == -2) {
+ if (id == TORRENT_GET_TAG_MODE_UPDATE) {
json_object_set_string_member(args, PARAM_IDS,
FIELD_RECENTLY_ACTIVE);
} else if (id >= 0) {