From 20b437730ddd9862348871516aa2f4ca5433d959 Mon Sep 17 00:00:00 2001
From: Matt Joiner <anacrolix@gmail.com>
Date: Wed, 3 May 2023 16:40:51 +1000
Subject: [PATCH] Include count of peer conns in status

---
 torrent.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/torrent.go b/torrent.go
index c5af556d..5d78f390 100644
--- a/torrent.go
+++ b/torrent.go
@@ -785,7 +785,7 @@ func (t *Torrent) writeStatus(w io.Writer) {
 		return ml.Less()
 	})
 
-	fmt.Fprintf(w, "peer conns:\n")
+	fmt.Fprintf(w, "%v peer conns:\n", len(peerConns))
 	t.writePeerStatuses(w, g.SliceMap(peerConns, func(pc *PeerConn) *Peer {
 		return &pc.Peer
 	}))
-- 
2.51.0