summaryrefslogtreecommitdiff
path: root/src/torrent.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-12 14:41:42 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-12 14:41:42 +0000
commit05a98f92cb9eeab843727e0fa2fc052cb371109a (patch)
tree30593b257e0e7045615ba71b95185561a6134539 /src/torrent.c
parentba223a1a4d7cae2bba4ca0e2e55627a986175ace (diff)
tidy sources with GNU indent after recent changes. on seconds thoughts, don't install docs with autotools, leave it to the package manager.
Diffstat (limited to 'src/torrent.c')
-rw-r--r--src/torrent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/torrent.c b/src/torrent.c
index 4c35e06..7c82df4 100644
--- a/src/torrent.c
+++ b/src/torrent.c
@@ -61,7 +61,7 @@ const gchar *torrent_get_name(JsonObject * t)
return json_object_get_string_member(t, FIELD_NAME);
}
-gint64 torrent_get_added_date(JsonObject *t)
+gint64 torrent_get_added_date(JsonObject * t)
{
return json_object_get_int_member(t, FIELD_ADDED_DATE);
}
@@ -265,7 +265,7 @@ const gchar *tracker_get_scrape(JsonObject * t)
return json_object_get_string_member(t, FIELD_SCRAPE);
}
-JsonArray *get_torrents_removed(JsonObject *response)
+JsonArray *get_torrents_removed(JsonObject * response)
{
if (G_UNLIKELY(json_object_has_member(response, FIELD_REMOVED)))
return json_object_get_array_member(response, FIELD_REMOVED);