metainfo: Fix use of CastSlice when copying nodes

This commit is contained in:
Matt Joiner 2016-02-23 22:47:41 +11:00
parent d67379b3cb
commit 9c7d3d4783
1 changed files with 1 additions and 1 deletions

View File

@ -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.Comment = b.comment
td.CreatedBy = b.created_by