summaryrefslogtreecommitdiff
path: root/src/Network
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network')
-rw-r--r--src/Network/BitTorrent.hs4
-rw-r--r--src/Network/BitTorrent/DHT/Protocol.hs5
-rw-r--r--src/Network/BitTorrent/Exchange/Protocol.hs2
-rw-r--r--src/Network/BitTorrent/Sessions.hs2
-rw-r--r--src/Network/BitTorrent/Sessions/Types.lhs1
-rw-r--r--src/Network/BitTorrent/Tracker.hs2
-rw-r--r--src/Network/BitTorrent/Tracker/HTTP.hs1
-rw-r--r--src/Network/BitTorrent/Tracker/Protocol.hs2
-rw-r--r--src/Network/BitTorrent/Tracker/UDP.hs1
9 files changed, 8 insertions, 12 deletions
diff --git a/src/Network/BitTorrent.hs b/src/Network/BitTorrent.hs
index 7ff85b39..e68d1597 100644
--- a/src/Network/BitTorrent.hs
+++ b/src/Network/BitTorrent.hs
@@ -7,7 +7,7 @@
7-- 7--
8{-# LANGUAGE RecordWildCards #-} 8{-# LANGUAGE RecordWildCards #-}
9module Network.BitTorrent 9module Network.BitTorrent
10 ( module Data.Torrent.Metainfo 10 ( module Data.Torrent
11 11
12 , TorrentLoc(..), TorrentMap, Progress(..) 12 , TorrentLoc(..), TorrentMap, Progress(..)
13 , ThreadCount, SessionCount 13 , ThreadCount, SessionCount
@@ -49,7 +49,7 @@ import Text.PrettyPrint
49import System.Directory 49import System.Directory
50import System.FilePath 50import System.FilePath
51 51
52import Data.Torrent.Metainfo 52import Data.Torrent
53import Network.BitTorrent.Sessions.Types 53import Network.BitTorrent.Sessions.Types
54import Network.BitTorrent.Sessions 54import Network.BitTorrent.Sessions
55import Network.BitTorrent.Extension 55import Network.BitTorrent.Extension
diff --git a/src/Network/BitTorrent/DHT/Protocol.hs b/src/Network/BitTorrent/DHT/Protocol.hs
index 0ac814b7..8528f0e0 100644
--- a/src/Network/BitTorrent/DHT/Protocol.hs
+++ b/src/Network/BitTorrent/DHT/Protocol.hs
@@ -29,10 +29,9 @@ import Network
29import Network.Socket 29import Network.Socket
30import System.Entropy 30import System.Entropy
31 31
32import Remote.KRPC
33import Remote.KRPC.Protocol
34import Data.BEncode 32import Data.BEncode
35import Data.Torrent.Metainfo 33import Network.KRPC
34import Network.KRPC.Protocol
36import Network.BitTorrent.Peer 35import Network.BitTorrent.Peer
37import Network.BitTorrent.Exchange.Protocol () 36import Network.BitTorrent.Exchange.Protocol ()
38 37
diff --git a/src/Network/BitTorrent/Exchange/Protocol.hs b/src/Network/BitTorrent/Exchange/Protocol.hs
index 8286ae7d..b86683fa 100644
--- a/src/Network/BitTorrent/Exchange/Protocol.hs
+++ b/src/Network/BitTorrent/Exchange/Protocol.hs
@@ -80,7 +80,7 @@ import Network.Socket.ByteString
80 80
81import Data.Torrent.Bitfield 81import Data.Torrent.Bitfield
82import Data.Torrent.Block 82import Data.Torrent.Block
83import Data.Torrent.Metainfo 83import Data.Torrent
84import Network.BitTorrent.Extension 84import Network.BitTorrent.Extension
85import Network.BitTorrent.Peer 85import Network.BitTorrent.Peer
86 86
diff --git a/src/Network/BitTorrent/Sessions.hs b/src/Network/BitTorrent/Sessions.hs
index 0f0d7ecd..a591c648 100644
--- a/src/Network/BitTorrent/Sessions.hs
+++ b/src/Network/BitTorrent/Sessions.hs
@@ -75,7 +75,7 @@ import Network.BSD
75import Network.Socket 75import Network.Socket
76 76
77import Data.Torrent.Bitfield as BF 77import Data.Torrent.Bitfield as BF
78import Data.Torrent.Metainfo 78import Data.Torrent
79import Network.BitTorrent.Extension 79import Network.BitTorrent.Extension
80import Network.BitTorrent.Peer 80import Network.BitTorrent.Peer
81import Network.BitTorrent.Sessions.Types 81import Network.BitTorrent.Sessions.Types
diff --git a/src/Network/BitTorrent/Sessions/Types.lhs b/src/Network/BitTorrent/Sessions/Types.lhs
index 7ee7cbec..6957032f 100644
--- a/src/Network/BitTorrent/Sessions/Types.lhs
+++ b/src/Network/BitTorrent/Sessions/Types.lhs
@@ -56,7 +56,6 @@
56> import Network 56> import Network
57 57
58> import Data.Torrent.Bitfield as BF 58> import Data.Torrent.Bitfield as BF
59> import Data.Torrent.Metainfo
60> import Network.BitTorrent.Extension 59> import Network.BitTorrent.Extension
61> import Network.BitTorrent.Peer 60> import Network.BitTorrent.Peer
62> import Network.BitTorrent.Exchange.Protocol as BT 61> import Network.BitTorrent.Exchange.Protocol as BT
diff --git a/src/Network/BitTorrent/Tracker.hs b/src/Network/BitTorrent/Tracker.hs
index 147d1ea5..c1dfe44e 100644
--- a/src/Network/BitTorrent/Tracker.hs
+++ b/src/Network/BitTorrent/Tracker.hs
@@ -36,7 +36,7 @@ import Data.Text as T
36import Network 36import Network
37import Network.URI 37import Network.URI
38 38
39import Data.Torrent.Metainfo 39import Data.Torrent
40import Network.BitTorrent.Peer 40import Network.BitTorrent.Peer
41import Network.BitTorrent.Tracker.Protocol as Tracker 41import Network.BitTorrent.Tracker.Protocol as Tracker
42import Network.BitTorrent.Tracker.HTTP 42import Network.BitTorrent.Tracker.HTTP
diff --git a/src/Network/BitTorrent/Tracker/HTTP.hs b/src/Network/BitTorrent/Tracker/HTTP.hs
index ce517b34..797115ad 100644
--- a/src/Network/BitTorrent/Tracker/HTTP.hs
+++ b/src/Network/BitTorrent/Tracker/HTTP.hs
@@ -30,7 +30,6 @@ import Data.URLEncoded as URL
30import Network.URI 30import Network.URI
31import Network.HTTP 31import Network.HTTP
32 32
33import Data.Torrent.Metainfo hiding (announce)
34import Network.BitTorrent.Tracker.Protocol 33import Network.BitTorrent.Tracker.Protocol
35 34
36 35
diff --git a/src/Network/BitTorrent/Tracker/Protocol.hs b/src/Network/BitTorrent/Tracker/Protocol.hs
index 965f3480..52835abb 100644
--- a/src/Network/BitTorrent/Tracker/Protocol.hs
+++ b/src/Network/BitTorrent/Tracker/Protocol.hs
@@ -58,7 +58,7 @@ import Data.Text (Text)
58import Data.Text.Encoding 58import Data.Text.Encoding
59import Data.Serialize hiding (Result) 59import Data.Serialize hiding (Result)
60import Data.URLEncoded as URL 60import Data.URLEncoded as URL
61import Data.Torrent.Metainfo 61import Data.Torrent
62import Network 62import Network
63import Network.URI 63import Network.URI
64import Network.Socket 64import Network.Socket
diff --git a/src/Network/BitTorrent/Tracker/UDP.hs b/src/Network/BitTorrent/Tracker/UDP.hs
index dc1b4897..f0bd3c56 100644
--- a/src/Network/BitTorrent/Tracker/UDP.hs
+++ b/src/Network/BitTorrent/Tracker/UDP.hs
@@ -42,7 +42,6 @@ import System.Entropy
42import System.Timeout 42import System.Timeout
43import Numeric 43import Numeric
44 44
45import Data.Torrent.Metainfo ()
46import Network.BitTorrent.Tracker.Protocol 45import Network.BitTorrent.Tracker.Protocol
47 46
48{----------------------------------------------------------------------- 47{-----------------------------------------------------------------------