torrent.go | 2 +- diff --git a/torrent.go b/torrent.go index 4e0082a6c0eb049df752ddb631102e1662cdccbf..12c365d685133b9211490e7350836fa03c47bbcc 100644 --- a/torrent.go +++ b/torrent.go @@ -459,7 +459,7 @@ } } func (t *Torrent) String() string { - s := t.Name() + s := t.name() if s == "" { s = fmt.Sprintf("%x", t.infoHash) }