diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Network/BitTorrent/Internal/Progress.hs (renamed from src/Data/Torrent/Progress.hs) | 3 | ||||
-rw-r--r-- | src/Network/BitTorrent/Tracker/Message.hs | 3 | ||||
-rw-r--r-- | src/Network/BitTorrent/Tracker/RPC.hs | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/src/Data/Torrent/Progress.hs b/src/Network/BitTorrent/Internal/Progress.hs index 4719020a..9aff9935 100644 --- a/src/Data/Torrent/Progress.hs +++ b/src/Network/BitTorrent/Internal/Progress.hs | |||
@@ -13,7 +13,7 @@ | |||
13 | {-# LANGUAGE TemplateHaskell #-} | 13 | {-# LANGUAGE TemplateHaskell #-} |
14 | {-# LANGUAGE ViewPatterns #-} | 14 | {-# LANGUAGE ViewPatterns #-} |
15 | {-# OPTIONS -fno-warn-orphans #-} | 15 | {-# OPTIONS -fno-warn-orphans #-} |
16 | module Data.Torrent.Progress | 16 | module Network.BitTorrent.Internal.Progress |
17 | ( -- * Progress | 17 | ( -- * Progress |
18 | Progress (..) | 18 | Progress (..) |
19 | 19 | ||
@@ -39,7 +39,6 @@ import Control.Lens hiding ((%=)) | |||
39 | import Data.ByteString.Lazy.Builder as BS | 39 | import Data.ByteString.Lazy.Builder as BS |
40 | import Data.ByteString.Lazy.Builder.ASCII as BS | 40 | import Data.ByteString.Lazy.Builder.ASCII as BS |
41 | import Data.Default | 41 | import Data.Default |
42 | import Data.List as L | ||
43 | import Data.Monoid | 42 | import Data.Monoid |
44 | import Data.Serialize as S | 43 | import Data.Serialize as S |
45 | import Data.Ratio | 44 | import Data.Ratio |
diff --git a/src/Network/BitTorrent/Tracker/Message.hs b/src/Network/BitTorrent/Tracker/Message.hs index d251d0ad..e4a41045 100644 --- a/src/Network/BitTorrent/Tracker/Message.hs +++ b/src/Network/BitTorrent/Tracker/Message.hs | |||
@@ -125,9 +125,8 @@ import System.Entropy | |||
125 | import Text.Read (readMaybe) | 125 | import Text.Read (readMaybe) |
126 | 126 | ||
127 | import Data.Torrent | 127 | import Data.Torrent |
128 | import Data.Torrent.Progress | ||
129 | import Network.BitTorrent.Address | 128 | import Network.BitTorrent.Address |
130 | 129 | import Network.BitTorrent.Internal.Progress | |
131 | 130 | ||
132 | {----------------------------------------------------------------------- | 131 | {----------------------------------------------------------------------- |
133 | -- Events | 132 | -- Events |
diff --git a/src/Network/BitTorrent/Tracker/RPC.hs b/src/Network/BitTorrent/Tracker/RPC.hs index ecb1001c..6fd22b25 100644 --- a/src/Network/BitTorrent/Tracker/RPC.hs +++ b/src/Network/BitTorrent/Tracker/RPC.hs | |||
@@ -37,8 +37,8 @@ import Network.URI | |||
37 | import Network.Socket (HostAddress) | 37 | import Network.Socket (HostAddress) |
38 | 38 | ||
39 | import Data.Torrent | 39 | import Data.Torrent |
40 | import Data.Torrent.Progress | ||
41 | import Network.BitTorrent.Address | 40 | import Network.BitTorrent.Address |
41 | import Network.BitTorrent.Internal.Progress | ||
42 | import Network.BitTorrent.Tracker.Message | 42 | import Network.BitTorrent.Tracker.Message |
43 | import qualified Network.BitTorrent.Tracker.RPC.HTTP as HTTP | 43 | import qualified Network.BitTorrent.Tracker.RPC.HTTP as HTTP |
44 | import qualified Network.BitTorrent.Tracker.RPC.UDP as UDP | 44 | import qualified Network.BitTorrent.Tracker.RPC.UDP as UDP |