]> Sergey Matveev's repositories - btrtrc.git/blobdiff - t.go
Update anacrolix/generics
[btrtrc.git] / t.go
diff --git a/t.go b/t.go
index a20e02c869f50453da296df548795d29ae909150..de7965dc5be2bbe0e0cd534dae2017fac6a93122 100644 (file)
--- a/t.go
+++ b/t.go
@@ -147,7 +147,7 @@ func (t *Torrent) Name() string {
 // The completed length of all the torrent data, in all its files. This is
 // derived from the torrent info, when it is available.
 func (t *Torrent) Length() int64 {
-       return t._length.Value()
+       return t._length.Value
 }
 
 // Returns a run-time generated metainfo for the torrent that includes the