t.go | 2 +- diff --git a/t.go b/t.go index 78c500dc438faf33b9d6f3a12dd669ff5fa5566c..a7f9889289b63a83533fbfb4ed8b4c96987935a5 100644 --- a/t.go +++ b/t.go @@ -190,7 +190,7 @@ } } } -func (t *Torrent) CancelPieces(begin, end pieceIndex, reason string) { +func (t *Torrent) CancelPieces(begin, end pieceIndex) { t.cl.lock() t.cancelPiecesLocked(begin, end, "Torrent.CancelPieces") t.cl.unlock()