From 224522545b3d16c01d4d378219d5b7093117105c Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Tue, 12 Jun 2018 21:51:34 +1000 Subject: [PATCH] Fix build error with recent go version --- torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torrent.go b/torrent.go index fc1fb5df..91f72da8 100644 --- a/torrent.go +++ b/torrent.go @@ -1522,7 +1522,7 @@ func (t *Torrent) addConnection(c *connection) error { if len(t.conns) >= t.maxEstablishedConns { c := t.worstBadConn() if t.cl.config.Debug && missinggo.CryHeard() { - log.Printf("%s: dropping connection to make room for new one:\n %s", t, c) + log.Printf("%s: dropping connection to make room for new one:\n %v", t, c) } c.Close() t.deleteConnection(c)