summaryrefslogtreecommitdiff
path: root/ot_stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_stats.c')
-rw-r--r--ot_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_stats.c b/ot_stats.c
index a7c01c6..4f6b620 100644
--- a/ot_stats.c
+++ b/ot_stats.c
@@ -270,13 +270,13 @@ static size_t stats_return_woodpeckers( char * reply, int amount ) {
270 pthread_mutex_unlock( &g_woodpeckers_mutex ); 270 pthread_mutex_unlock( &g_woodpeckers_mutex );
271 return r-reply; 271 return r-reply;
272} 272}
273#endif
273 274
274typedef struct { 275typedef struct {
275 unsigned long long torrent_count; 276 unsigned long long torrent_count;
276 unsigned long long peer_count; 277 unsigned long long peer_count;
277 unsigned long long seed_count; 278 unsigned long long seed_count;
278} torrent_stats; 279} torrent_stats;
279#endif
280 280
281static int torrent_statter( ot_torrent *torrent, uintptr_t data ) { 281static int torrent_statter( ot_torrent *torrent, uintptr_t data ) {
282 torrent_stats *stats = (torrent_stats*)data; 282 torrent_stats *stats = (torrent_stats*)data;