32bit compatibility
This commit is contained in:
@@ -117,7 +117,7 @@ func (t *TorrentManager) reinsertTorrent(torrent *Torrent, missingFiles string)
|
||||
// if missingFiles is not provided
|
||||
if missingFiles == "" {
|
||||
// only replace the torrent if we are reinserting all files
|
||||
oldTorrentIDs = torrent.DownloadedIDs.List()
|
||||
oldTorrentIDs = torrent.DownloadedIDs.ToSlice()
|
||||
tmpSelection := ""
|
||||
torrent.SelectedFiles.IterCb(func(_ string, file *File) {
|
||||
tmpSelection += fmt.Sprintf("%d,", file.ID) // select all files
|
||||
|
||||
Reference in New Issue
Block a user