diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2012-03-01 20:25:30 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2012-03-01 20:25:30 +0000 |
commit | a8fed4cb21f81bc1ce539d679da42d03a912469f (patch) | |
tree | 7b6391562eb7b1148ede866ce03af50f6faadf47 /src/torrent.c | |
parent | 8712a5d7d59279f76624892ba012ff2b934be1ee (diff) |
contributed patch for clickable urls in comments
Diffstat (limited to 'src/torrent.c')
-rw-r--r-- | src/torrent.c | 5 |
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 = |