summaryrefslogtreecommitdiff
path: root/src/torrent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/torrent.c')
-rw-r--r--src/torrent.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/torrent.c b/src/torrent.c
index c77e943..0f2cc5e 100644
--- a/src/torrent.c
+++ b/src/torrent.c
@@ -69,6 +69,11 @@ const gchar *torrent_get_download_dir(JsonObject * t)
return json_object_get_string_member(t, FIELD_DOWNLOAD_DIR);
}
+const gchar *torrent_get_comment(JsonObject * t)
+{
+ return json_object_get_string_member(t, FIELD_COMMENT);
+}
+
gdouble torrent_get_metadata_percent_complete(JsonObject * t)
{
JsonNode *node =