From 0ea4383efc08cb9d6c7cada92670bd61fa3e7017 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 4a784300..b75c44c5 100644 --- a/torrent.go +++ b/torrent.go @@ -1511,7 +1511,7 @@ func (t *Torrent) addConnection(c *connection, outgoing bool) bool { return false } 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) -- 2.50.0