diff options
Diffstat (limited to 'src/Network/BitTorrent/Exchange')
-rw-r--r-- | src/Network/BitTorrent/Exchange/Connection.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/Exchange/Manager.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/Exchange/Message.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/Exchange/Session.hs | 6 | ||||
-rw-r--r-- | src/Network/BitTorrent/Exchange/Session/Metadata.hs | 3 |
5 files changed, 6 insertions, 9 deletions
diff --git a/src/Network/BitTorrent/Exchange/Connection.hs b/src/Network/BitTorrent/Exchange/Connection.hs index fd9022da..42b991a0 100644 --- a/src/Network/BitTorrent/Exchange/Connection.hs +++ b/src/Network/BitTorrent/Exchange/Connection.hs | |||
@@ -136,7 +136,7 @@ import System.Log.FastLogger (ToLogStr(..)) | |||
136 | import System.Timeout | 136 | import System.Timeout |
137 | 137 | ||
138 | import Data.Torrent.Bitfield as BF | 138 | import Data.Torrent.Bitfield as BF |
139 | import Data.Torrent.InfoHash | 139 | import Data.Torrent |
140 | import Network.BitTorrent.Core | 140 | import Network.BitTorrent.Core |
141 | import Network.BitTorrent.Exchange.Message as Msg | 141 | import Network.BitTorrent.Exchange.Message as Msg |
142 | 142 | ||
diff --git a/src/Network/BitTorrent/Exchange/Manager.hs b/src/Network/BitTorrent/Exchange/Manager.hs index b9aaa818..ad7a47a2 100644 --- a/src/Network/BitTorrent/Exchange/Manager.hs +++ b/src/Network/BitTorrent/Exchange/Manager.hs | |||
@@ -12,7 +12,7 @@ import Control.Monad | |||
12 | import Data.Default | 12 | import Data.Default |
13 | import Network.Socket | 13 | import Network.Socket |
14 | 14 | ||
15 | import Data.Torrent.InfoHash | 15 | import Data.Torrent |
16 | import Network.BitTorrent.Core | 16 | import Network.BitTorrent.Core |
17 | import Network.BitTorrent.Exchange.Connection hiding (Options) | 17 | import Network.BitTorrent.Exchange.Connection hiding (Options) |
18 | import Network.BitTorrent.Exchange.Session | 18 | import Network.BitTorrent.Exchange.Session |
diff --git a/src/Network/BitTorrent/Exchange/Message.hs b/src/Network/BitTorrent/Exchange/Message.hs index d8873f95..bd5c6526 100644 --- a/src/Network/BitTorrent/Exchange/Message.hs +++ b/src/Network/BitTorrent/Exchange/Message.hs | |||
@@ -118,7 +118,7 @@ import Text.PrettyPrint as PP hiding ((<>)) | |||
118 | import Text.PrettyPrint.Class | 118 | import Text.PrettyPrint.Class |
119 | 119 | ||
120 | import Data.Torrent.Bitfield | 120 | import Data.Torrent.Bitfield |
121 | import Data.Torrent.InfoHash | 121 | import Data.Torrent |
122 | import qualified Data.Torrent.Piece as P | 122 | import qualified Data.Torrent.Piece as P |
123 | import Network.BitTorrent.Core | 123 | import Network.BitTorrent.Core |
124 | import Network.BitTorrent.Exchange.Block | 124 | import Network.BitTorrent.Exchange.Block |
diff --git a/src/Network/BitTorrent/Exchange/Session.hs b/src/Network/BitTorrent/Exchange/Session.hs index 6f480ce4..0adb08c8 100644 --- a/src/Network/BitTorrent/Exchange/Session.hs +++ b/src/Network/BitTorrent/Exchange/Session.hs | |||
@@ -45,11 +45,9 @@ import Text.PrettyPrint.Class | |||
45 | import System.Log.FastLogger (LogStr, ToLogStr (..)) | 45 | import System.Log.FastLogger (LogStr, ToLogStr (..)) |
46 | 46 | ||
47 | import Data.BEncode as BE | 47 | import Data.BEncode as BE |
48 | import Data.Torrent (InfoDict (..)) | 48 | import Data.Torrent as T |
49 | import Data.Torrent.Piece as Torrent | ||
49 | import Data.Torrent.Bitfield as BF | 50 | import Data.Torrent.Bitfield as BF |
50 | import Data.Torrent.InfoHash | ||
51 | import Data.Torrent.Piece | ||
52 | import qualified Data.Torrent.Piece as Torrent (Piece ()) | ||
53 | import Network.BitTorrent.Internal.Types | 51 | import Network.BitTorrent.Internal.Types |
54 | import Network.BitTorrent.Core | 52 | import Network.BitTorrent.Core |
55 | import Network.BitTorrent.Exchange.Block as Block | 53 | import Network.BitTorrent.Exchange.Block as Block |
diff --git a/src/Network/BitTorrent/Exchange/Session/Metadata.hs b/src/Network/BitTorrent/Exchange/Session/Metadata.hs index 79156e2e..bdd5b322 100644 --- a/src/Network/BitTorrent/Exchange/Session/Metadata.hs +++ b/src/Network/BitTorrent/Exchange/Session/Metadata.hs | |||
@@ -26,8 +26,7 @@ import Data.List as L | |||
26 | import Data.Tuple | 26 | import Data.Tuple |
27 | 27 | ||
28 | import Data.BEncode as BE | 28 | import Data.BEncode as BE |
29 | import Data.Torrent | 29 | import Data.Torrent as Torrent |
30 | import Data.Torrent.InfoHash | ||
31 | import Data.Torrent.Piece as Torrent | 30 | import Data.Torrent.Piece as Torrent |
32 | import Network.BitTorrent.Core | 31 | import Network.BitTorrent.Core |
33 | import Network.BitTorrent.Exchange.Block as Block | 32 | import Network.BitTorrent.Exchange.Block as Block |