diff options
| -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; |
