From: Matt Joiner Date: Wed, 16 Jan 2019 10:11:47 +0000 (+0000) Subject: Fix build error X-Git-Tag: v1.1.0~23 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=7fa29b9e4d7af274f68d7867c036bd444feef2f3;p=btrtrc.git Fix build error --- diff --git a/torrent.go b/torrent.go index f90b265f..a343f10a 100644 --- a/torrent.go +++ b/torrent.go @@ -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) } }