storage/interface.go | 2 +- diff --git a/storage/interface.go b/storage/interface.go index c48c6e3405022665113682a324ef347fefd9bedb..271bc7e60b92e2c2ba7c2734ccfd6941adc9db5a 100644 --- a/storage/interface.go +++ b/storage/interface.go @@ -18,7 +18,7 @@ } // Data storage bound to a torrent. type TorrentImpl struct { - Piece func(metainfo.Piece) PieceImpl + Piece func(p metainfo.Piece) PieceImpl Close func() error // Storages that share the same value, will provide a pointer to the same function. Capacity *func() *int64