]> git.ipfire.org Git - thirdparty/opentracker.git/commitdiff
#define closed too early
authorerdgeist <>
Wed, 2 Sep 2009 16:01:44 +0000 (16:01 +0000)
committererdgeist <>
Wed, 2 Sep 2009 16:01:44 +0000 (16:01 +0000)
ot_stats.c

index a7c01c65ea78f510efc146370635b149643897c5..4f6b6204bfe56830abf3043685a9428894d6eaa5 100644 (file)
@@ -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;