From 6c3f8ea26c69bc451b3a8b1277cbcedf92930750 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Wed, 1 Apr 2015 14:34:57 +1100 Subject: [PATCH] Remove unnecessary reflection --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 981d4d22..a3785d42 100644 --- a/client.go +++ b/client.go @@ -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 }