summaryrefslogtreecommitdiff
path: root/src/torrent.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-08-25 12:39:00 +0100
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-08-25 12:39:00 +0100
commit75535446541c62fab468c0f8ed6c94018f0cc070 (patch)
treec3474db6d36c334af03aae92112929d8f445a127 /src/torrent.c
parentfb1dcb88fcc1a027da2f8e0ab1020afa1754ff3a (diff)
fix gtk2 support for new cell renderer and fix error reporting
Diffstat (limited to 'src/torrent.c')
-rw-r--r--src/torrent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/torrent.c b/src/torrent.c
index d35be51..e8f8ec9 100644
--- a/src/torrent.c
+++ b/src/torrent.c
@@ -322,7 +322,7 @@ gint64 torrent_get_done_date(JsonObject * t)
const gchar *torrent_get_errorstr(JsonObject * t)
{
- return json_object_get_string_member(t, FIELD_ERRORSTR);
+ return json_object_get_string_member(t, FIELD_ERROR_STRING);
}
gint64 torrent_get_error(JsonObject *t)