mirror of
git://erdgeist.org/opentracker
synced 2025-02-05 03:26:25 +00:00
#define closed too early
This commit is contained in:
parent
0bf88427c6
commit
26bf39da89
@ -270,13 +270,13 @@ static size_t stats_return_woodpeckers( char * reply, int amount ) {
|
|||||||
pthread_mutex_unlock( &g_woodpeckers_mutex );
|
pthread_mutex_unlock( &g_woodpeckers_mutex );
|
||||||
return r-reply;
|
return r-reply;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
unsigned long long torrent_count;
|
unsigned long long torrent_count;
|
||||||
unsigned long long peer_count;
|
unsigned long long peer_count;
|
||||||
unsigned long long seed_count;
|
unsigned long long seed_count;
|
||||||
} torrent_stats;
|
} torrent_stats;
|
||||||
#endif
|
|
||||||
|
|
||||||
static int torrent_statter( ot_torrent *torrent, uintptr_t data ) {
|
static int torrent_statter( ot_torrent *torrent, uintptr_t data ) {
|
||||||
torrent_stats *stats = (torrent_stats*)data;
|
torrent_stats *stats = (torrent_stats*)data;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user