summaryrefslogtreecommitdiff
path: root/ot_mutex.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2024-04-07 21:29:36 +0200
committerDirk Engling <erdgeist@erdgeist.org>2024-04-07 21:29:36 +0200
commit18a746b89dadf4c5f8ed8b4feec71bcc4d4f3980 (patch)
tree3dae1aa2cf308dc889af3b182a231ffc15370fcf /ot_mutex.c
parentaedd7e30cbadaed7f44af90174094ff868930cf3 (diff)
report full peer and seed count for both address families
Diffstat (limited to 'ot_mutex.c')
-rw-r--r--ot_mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_mutex.c b/ot_mutex.c
index 6457f29..497b1af 100644
--- a/ot_mutex.c
+++ b/ot_mutex.c
@@ -26,7 +26,7 @@
26/* Our global all torrents list */ 26/* Our global all torrents list */
27static ot_vector all_torrents[OT_BUCKET_COUNT]; 27static ot_vector all_torrents[OT_BUCKET_COUNT];
28static pthread_mutex_t bucket_mutex[OT_BUCKET_COUNT]; 28static pthread_mutex_t bucket_mutex[OT_BUCKET_COUNT];
29static size_t g_torrent_count; 29static size_t g_torrent_count;
30 30
31/* Self pipe from opentracker.c */ 31/* Self pipe from opentracker.c */
32extern int g_self_pipe[2]; 32extern int g_self_pipe[2];