diff options
author | erdgeist <> | 2009-09-02 16:01:44 +0000 |
---|---|---|
committer | erdgeist <> | 2009-09-02 16:01:44 +0000 |
commit | 26bf39da89c8c9aff4c8ca8e86f4ae6ecf82149b (patch) | |
tree | baa095a946fac0d43dcdc527a63074fd7b7e2724 | |
parent | 0bf88427c6c33f0aabc4e8374ed77542c4f18d2a (diff) |
#define closed too early
-rw-r--r-- | ot_stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||
274 | typedef struct { | 275 | typedef 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 | ||
281 | static int torrent_statter( ot_torrent *torrent, uintptr_t data ) { | 281 | static int torrent_statter( ot_torrent *torrent, uintptr_t data ) { |
282 | torrent_stats *stats = (torrent_stats*)data; | 282 | torrent_stats *stats = (torrent_stats*)data; |