diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2014-04-08 02:36:18 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2014-04-08 02:36:18 +0400 |
commit | 75711985512c8578e913a1b464816968b4aef5dd (patch) | |
tree | 5ab77d69af0e9bc315b58f1df6ba100e318adfce /src/Network/BitTorrent/Exchange | |
parent | 7e597cd924d2149b10f900c7dc14ce6e1e321cb5 (diff) |
Merge PeerAddr and NodeAddr modules
Diffstat (limited to 'src/Network/BitTorrent/Exchange')
-rw-r--r-- | src/Network/BitTorrent/Exchange/Assembler.hs | 2 | ||||
-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 | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/Exchange/Session/Metadata.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/Exchange/Session/Status.hs | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/Network/BitTorrent/Exchange/Assembler.hs b/src/Network/BitTorrent/Exchange/Assembler.hs index e17dfbe2..7abb8ab0 100644 --- a/src/Network/BitTorrent/Exchange/Assembler.hs +++ b/src/Network/BitTorrent/Exchange/Assembler.hs | |||
@@ -68,7 +68,7 @@ import Data.Maybe | |||
68 | import Data.IP | 68 | import Data.IP |
69 | 69 | ||
70 | import Data.Torrent | 70 | import Data.Torrent |
71 | import Network.BitTorrent.Core | 71 | import Network.BitTorrent.Address |
72 | import Network.BitTorrent.Exchange.Block as B | 72 | import Network.BitTorrent.Exchange.Block as B |
73 | 73 | ||
74 | {----------------------------------------------------------------------- | 74 | {----------------------------------------------------------------------- |
diff --git a/src/Network/BitTorrent/Exchange/Connection.hs b/src/Network/BitTorrent/Exchange/Connection.hs index 42b991a0..9b7942ae 100644 --- a/src/Network/BitTorrent/Exchange/Connection.hs +++ b/src/Network/BitTorrent/Exchange/Connection.hs | |||
@@ -137,7 +137,7 @@ import System.Timeout | |||
137 | 137 | ||
138 | import Data.Torrent.Bitfield as BF | 138 | import Data.Torrent.Bitfield as BF |
139 | import Data.Torrent | 139 | import Data.Torrent |
140 | import Network.BitTorrent.Core | 140 | import Network.BitTorrent.Address |
141 | import Network.BitTorrent.Exchange.Message as Msg | 141 | import Network.BitTorrent.Exchange.Message as Msg |
142 | 142 | ||
143 | -- TODO handle port message? | 143 | -- TODO handle port message? |
diff --git a/src/Network/BitTorrent/Exchange/Manager.hs b/src/Network/BitTorrent/Exchange/Manager.hs index ad7a47a2..54727805 100644 --- a/src/Network/BitTorrent/Exchange/Manager.hs +++ b/src/Network/BitTorrent/Exchange/Manager.hs | |||
@@ -13,7 +13,7 @@ import Data.Default | |||
13 | import Network.Socket | 13 | import Network.Socket |
14 | 14 | ||
15 | import Data.Torrent | 15 | import Data.Torrent |
16 | import Network.BitTorrent.Core | 16 | import Network.BitTorrent.Address |
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 |
19 | 19 | ||
diff --git a/src/Network/BitTorrent/Exchange/Message.hs b/src/Network/BitTorrent/Exchange/Message.hs index 5ca7c97e..a0cb5c91 100644 --- a/src/Network/BitTorrent/Exchange/Message.hs +++ b/src/Network/BitTorrent/Exchange/Message.hs | |||
@@ -120,7 +120,7 @@ import Text.PrettyPrint.Class | |||
120 | import Data.Torrent.Bitfield | 120 | import Data.Torrent.Bitfield |
121 | import Data.Torrent hiding (Piece (..)) | 121 | import Data.Torrent hiding (Piece (..)) |
122 | import qualified Data.Torrent as P (Piece (..)) | 122 | import qualified Data.Torrent as P (Piece (..)) |
123 | import Network.BitTorrent.Core | 123 | import Network.BitTorrent.Address |
124 | import Network.BitTorrent.Exchange.Block | 124 | import Network.BitTorrent.Exchange.Block |
125 | 125 | ||
126 | {----------------------------------------------------------------------- | 126 | {----------------------------------------------------------------------- |
diff --git a/src/Network/BitTorrent/Exchange/Session.hs b/src/Network/BitTorrent/Exchange/Session.hs index cae3a2d5..b68f17a0 100644 --- a/src/Network/BitTorrent/Exchange/Session.hs +++ b/src/Network/BitTorrent/Exchange/Session.hs | |||
@@ -48,7 +48,7 @@ import Data.BEncode as BE | |||
48 | import Data.Torrent as Torrent | 48 | import Data.Torrent as Torrent |
49 | import Data.Torrent.Bitfield as BF | 49 | import Data.Torrent.Bitfield as BF |
50 | import Network.BitTorrent.Internal.Types | 50 | import Network.BitTorrent.Internal.Types |
51 | import Network.BitTorrent.Core | 51 | import Network.BitTorrent.Address |
52 | import Network.BitTorrent.Exchange.Block as Block | 52 | import Network.BitTorrent.Exchange.Block as Block |
53 | import Network.BitTorrent.Exchange.Connection | 53 | import Network.BitTorrent.Exchange.Connection |
54 | import Network.BitTorrent.Exchange.Message as Message | 54 | import Network.BitTorrent.Exchange.Message as Message |
diff --git a/src/Network/BitTorrent/Exchange/Session/Metadata.hs b/src/Network/BitTorrent/Exchange/Session/Metadata.hs index a4e54659..f08ebe00 100644 --- a/src/Network/BitTorrent/Exchange/Session/Metadata.hs +++ b/src/Network/BitTorrent/Exchange/Session/Metadata.hs | |||
@@ -27,7 +27,7 @@ import Data.Tuple | |||
27 | 27 | ||
28 | import Data.BEncode as BE | 28 | import Data.BEncode as BE |
29 | import Data.Torrent as Torrent | 29 | import Data.Torrent as Torrent |
30 | import Network.BitTorrent.Core | 30 | import Network.BitTorrent.Address |
31 | import Network.BitTorrent.Exchange.Block as Block | 31 | import Network.BitTorrent.Exchange.Block as Block |
32 | import Network.BitTorrent.Exchange.Message as Message hiding (Status) | 32 | import Network.BitTorrent.Exchange.Message as Message hiding (Status) |
33 | 33 | ||
diff --git a/src/Network/BitTorrent/Exchange/Session/Status.hs b/src/Network/BitTorrent/Exchange/Session/Status.hs index 4feff8d6..63b91926 100644 --- a/src/Network/BitTorrent/Exchange/Session/Status.hs +++ b/src/Network/BitTorrent/Exchange/Session/Status.hs | |||
@@ -30,7 +30,7 @@ import Data.Tuple | |||
30 | 30 | ||
31 | import Data.Torrent | 31 | import Data.Torrent |
32 | import Data.Torrent.Bitfield as BF | 32 | import Data.Torrent.Bitfield as BF |
33 | import Network.BitTorrent.Core | 33 | import Network.BitTorrent.Address |
34 | import Network.BitTorrent.Exchange.Block as Block | 34 | import Network.BitTorrent.Exchange.Block as Block |
35 | import System.Torrent.Storage (Storage, writePiece) | 35 | import System.Torrent.Storage (Storage, writePiece) |
36 | 36 | ||