diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-04-14 15:35:15 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-04-14 15:35:15 -0400 |
commit | 513b3a639796b06828570b6da6b049095abd5b83 (patch) | |
tree | adc204e55854d1d5d4f75689ea17fa9624142872 /Remote | |
parent | cd4304b64943ba55ffc8beac47796affc5405fd8 (diff) | |
parent | 1029cba6ac006b34053f3f96cbee9ecafe8cc1ae (diff) |
Merge branch 'master' into concurrentprogress
Conflicts:
debian/changelog
Diffstat (limited to 'Remote')
-rw-r--r-- | Remote/BitTorrent.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/BitTorrent.hs b/Remote/BitTorrent.hs index 2770f30ae..baba2e23e 100644 --- a/Remote/BitTorrent.hs +++ b/Remote/BitTorrent.hs @@ -212,7 +212,7 @@ downloadTorrentFile u = do downloadMagnetLink :: URLString -> FilePath -> FilePath -> Annex Bool downloadMagnetLink u metadir dest = ifM download ( liftIO $ do - ts <- filter (".torrent" `isPrefixOf`) + ts <- filter (".torrent" `isSuffixOf`) <$> dirContents metadir case ts of (t:[]) -> do |