summaryrefslogtreecommitdiff
path: root/src/Network
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network')
-rw-r--r--src/Network/BitTorrent/Client/Handle.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Network/BitTorrent/Client/Handle.hs b/src/Network/BitTorrent/Client/Handle.hs
index f539d53a..e7ac779c 100644
--- a/src/Network/BitTorrent/Client/Handle.hs
+++ b/src/Network/BitTorrent/Client/Handle.hs
@@ -83,8 +83,8 @@ openTorrent rootPath t @ Torrent {..} = do
83 return $ Handle ih (idPrivate tInfoDict) tses eses 83 return $ Handle ih (idPrivate tInfoDict) tses eses
84 84
85-- | Use 'nullMagnet' to open handle from 'InfoHash'. 85-- | Use 'nullMagnet' to open handle from 'InfoHash'.
86openMagnet :: Magnet -> BitTorrent Handle 86openMagnet :: FilePath -> Magnet -> BitTorrent Handle
87openMagnet = undefined 87openMagnet rootPath uri @ Magnet {..} = error "openMagnet: not implemnted"
88 88
89-- | Stop torrent and destroy all sessions. You don't need to close 89-- | Stop torrent and destroy all sessions. You don't need to close
90-- handles at application exit, all handles will be automatically 90-- handles at application exit, all handles will be automatically