From 54ccf5928b96aeff56f75a9b80cf0e227294941e Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Mon, 11 Jul 2016 02:15:43 +0200 Subject: URL-List may be a string or []string --- meta/torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/torrent.go b/meta/torrent.go index 1bc9470..ecb0c02 100644 --- a/meta/torrent.go +++ b/meta/torrent.go @@ -18,9 +18,9 @@ type Torrent struct { Encoding string `bencode:"encoding,optional"` HTTPSeeds []string `bencode:"httpseeds,optional"` // BEP-0017 Info Info `bencode:"info"` - URLList []string `bencode:"url-list,optional"` InfoHash []byte `bencode:"-"` //Nodes Nodes `bencode:"nodes"` // BEP-0005 + //URLList []string `bencode:"url-list,optional"` } func (t Torrent) String() string { -- cgit v1.2.3