summaryrefslogtreecommitdiff
path: root/src/requests.c
diff options
context:
space:
mode:
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) {