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

Change type of metainfo.Info.URLList

This commit is contained in:
Matt Joiner 2017-01-18 12:10:13 +11:00
parent 902e40dd67
commit c66c4d1744

View File

@ -17,7 +17,7 @@ type MetaInfo struct {
Comment string `bencode:"comment,omitempty"`
CreatedBy string `bencode:"created by,omitempty"`
Encoding string `bencode:"encoding,omitempty"`
URLList interface{} `bencode:"url-list,omitempty"`
URLList []string `bencode:"url-list,omitempty"`
}
// Load a MetaInfo from an io.Reader. Returns a non-nil error in case of