summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2009-09-02 16:01:44 +0000
committererdgeist <>2009-09-02 16:01:44 +0000
commit26bf39da89c8c9aff4c8ca8e86f4ae6ecf82149b (patch)
treebaa095a946fac0d43dcdc527a63074fd7b7e2724
parent0bf88427c6c33f0aabc4e8374ed77542c4f18d2a (diff)
#define closed too early
-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;