2
0
mirror of synced 2025-02-24 06:38:14 +00:00

Remove unnecessary reflection

This commit is contained in:
Matt Joiner 2015-04-01 14:34:57 +11:00
parent 0fddc286e6
commit 6c3f8ea26c

View File

@ -2247,8 +2247,8 @@ func TorrentSpecFromMagnetURI(uri string) (spec *TorrentSpec, err error) {
spec = &TorrentSpec{
Trackers: [][]string{m.Trackers},
DisplayName: m.DisplayName,
InfoHash: m.InfoHash,
}
CopyExact(&spec.InfoHash, &m.InfoHash)
return
}