From 26bf39da89c8c9aff4c8ca8e86f4ae6ecf82149b Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Wed, 2 Sep 2009 16:01:44 +0000 Subject: #define closed too early --- ot_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { pthread_mutex_unlock( &g_woodpeckers_mutex ); return r-reply; } +#endif typedef struct { unsigned long long torrent_count; unsigned long long peer_count; unsigned long long seed_count; } torrent_stats; -#endif static int torrent_statter( ot_torrent *torrent, uintptr_t data ) { torrent_stats *stats = (torrent_stats*)data; -- cgit v1.2.3