metainfo: Fix use of CastSlice when copying nodes
This commit is contained in:
parent
d67379b3cb
commit
9c7d3d4783
|
@ -383,7 +383,7 @@ func (b *Batch) write_torrent(w io.Writer) error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
missinggo.CastSlice(td.Nodes, b.node_list)
|
missinggo.CastSlice(&td.Nodes, b.node_list)
|
||||||
td.CreationDate = b.creation_date.Unix()
|
td.CreationDate = b.creation_date.Unix()
|
||||||
td.Comment = b.comment
|
td.Comment = b.comment
|
||||||
td.CreatedBy = b.created_by
|
td.CreatedBy = b.created_by
|
||||||
|
|
Loading…
Reference in New Issue