From 7bc8fe632f29a875659f223ad1e9aa035c56f46c Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Wed, 30 Nov 2011 18:54:29 +0000 Subject: add some comments at the top of some files, also add a timeout of 20 seconds for curl requests --- src/torrent.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/torrent.c') diff --git a/src/torrent.c b/src/torrent.c index c26defc..10f2dde 100644 --- a/src/torrent.c +++ b/src/torrent.c @@ -27,6 +27,8 @@ #include "protocol-constants.h" #include "util.h" +/* Just some functions to get fields out of the torrent object. */ + JsonArray *torrent_get_peers(JsonObject * t) { g_assert(json_object_get_array_member(t, FIELD_PEERS)); -- cgit v1.2.3