Update metainfo.go
delete "yoloham" so that is no longer the default comment string on torrents made without a comment specified. Should resolve https://github.com/anacrolix/torrent/issues/342
This commit is contained in:
parent
c81da2d5ee
commit
8d27c02962
|
@ -61,7 +61,7 @@ func (mi MetaInfo) Write(w io.Writer) error {
|
||||||
|
|
||||||
// Set good default values in preparation for creating a new MetaInfo file.
|
// Set good default values in preparation for creating a new MetaInfo file.
|
||||||
func (mi *MetaInfo) SetDefaults() {
|
func (mi *MetaInfo) SetDefaults() {
|
||||||
mi.Comment = "yoloham"
|
mi.Comment = ""
|
||||||
mi.CreatedBy = "github.com/anacrolix/torrent"
|
mi.CreatedBy = "github.com/anacrolix/torrent"
|
||||||
mi.CreationDate = time.Now().Unix()
|
mi.CreationDate = time.Now().Unix()
|
||||||
// mi.Info.PieceLength = 256 * 1024
|
// mi.Info.PieceLength = 256 * 1024
|
||||||
|
|
Loading…
Reference in New Issue