diff options
-rw-r--r-- | src/Network/BitTorrent/Client/Handle.hs | 4 |
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'. |
86 | openMagnet :: Magnet -> BitTorrent Handle | 86 | openMagnet :: FilePath -> Magnet -> BitTorrent Handle |
87 | openMagnet = undefined | 87 | openMagnet 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 |