]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Fix build error
authorMatt Joiner <anacrolix@gmail.com>
Wed, 16 Jan 2019 10:11:47 +0000 (10:11 +0000)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 16 Jan 2019 10:11:47 +0000 (10:11 +0000)
torrent.go

index f90b265f8580e91a7a5363b823eb13ffa7ba3182..a343f10a90380cdaf6a5a091b3c9f43a09562930 100644 (file)
@@ -1541,7 +1541,7 @@ func (t *Torrent) pieceHashed(piece pieceIndex, correct bool) {
                if correct {
                        pieceHashedCorrect.Add(1)
                } else {
-                       log.Fmsg("piece failed hash: %d connections contributed", len(touchers)).AddValue(t, p).Log(t.logger)
+                       log.Fmsg("piece failed hash: %d connections contributed", len(touchers)).AddValues(t, p).Log(t.logger)
                        pieceHashedNotCorrect.Add(1)
                }
        }