Log download link instead
This commit is contained in:
@@ -157,9 +157,9 @@ func (dl *Downloader) streamFileToResponse(torrent *intTor.Torrent, file *intTor
|
||||
}
|
||||
|
||||
if torrent != nil {
|
||||
log.Debugf("Opening file %s from torrent %s (%s)%s", file.Path, torMgr.GetKey(torrent), unrestrict.Link, rangeLog)
|
||||
log.Debugf("Opening file %s from torrent %s (%s)%s", unrestrict.Download, torMgr.GetKey(torrent), unrestrict.Link, rangeLog)
|
||||
} else {
|
||||
log.Debugf("Opening file %s (%s)%s", file.Path, unrestrict.Link, rangeLog)
|
||||
log.Debugf("Opening file %s (%s)%s", unrestrict.Download, unrestrict.Link, rangeLog)
|
||||
}
|
||||
|
||||
download, err := dl.client.Do(dlReq)
|
||||
|
||||
Reference in New Issue
Block a user