From: Matt Joiner Date: Tue, 12 Jun 2018 11:51:34 +0000 (+1000) Subject: Fix build error with recent go version X-Git-Tag: v1.0.0~129 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=0ea4383efc08cb9d6c7cada92670bd61fa3e7017;p=btrtrc.git Fix build error with recent go version --- 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)