BitTorrent: Fix build for "no torrent" code path
The RawFilePath conversions missed a spot in the else arm of "#ifdef WITH_TORRENTPARSER".
This commit is contained in:
parent
728afbc4b1
commit
9e09dcb2cf
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ torrentFileSizes torrent = do
|
|||
(d:[]) -> return $ map (splitsize d) files
|
||||
_ -> parsefailed (show v)
|
||||
where
|
||||
getfield = btshowmetainfo torrent
|
||||
getfield = btshowmetainfo (fromRawFilePath torrent)
|
||||
parsefailed s = giveup $ "failed to parse btshowmetainfo output for torrent file: " ++ show s
|
||||
|
||||
-- btshowmetainfo outputs a list of "filename (size)"
|
||||
|
|
Loading…
Reference in a new issue