]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Fix build error with recent go version
authorMatt Joiner <anacrolix@gmail.com>
Tue, 12 Jun 2018 11:51:34 +0000 (21:51 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Sun, 17 Jun 2018 07:12:06 +0000 (17:12 +1000)
torrent.go

index 4a784300bd99c6be128d88d193a88e9ec2c969a4..b75c44c5294c7b4b82112904d310a659079d6232 100644 (file)
@@ -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)