diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2014-02-20 07:16:10 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2014-02-20 07:16:10 +0400 |
commit | 2a1917938bcbb23e9aea7cbbcfde486c3ae6b29c (patch) | |
tree | 659ddde0f34755787dde20f884e82e6f1f49893a /src/Network/BitTorrent | |
parent | 2fee3e9d893973b3db7af606e6583d2ccd9d05eb (diff) |
Rename Exchange.Status to Exchange.Wire.Status
Diffstat (limited to 'src/Network/BitTorrent')
-rw-r--r-- | src/Network/BitTorrent/Exchange/Session.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/Exchange/Wire.hs | 2 | ||||
-rw-r--r-- | src/Network/BitTorrent/Exchange/Wire/Status.hs (renamed from src/Network/BitTorrent/Exchange/Status.hs) | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/Network/BitTorrent/Exchange/Session.hs b/src/Network/BitTorrent/Exchange/Session.hs index f10f601e..b6ee800a 100644 --- a/src/Network/BitTorrent/Exchange/Session.hs +++ b/src/Network/BitTorrent/Exchange/Session.hs | |||
@@ -47,8 +47,8 @@ import Network.BitTorrent.Exchange.Block as Block | |||
47 | import Network.BitTorrent.Exchange.Message as Message | 47 | import Network.BitTorrent.Exchange.Message as Message |
48 | import Network.BitTorrent.Exchange.Session.Metadata as Metadata | 48 | import Network.BitTorrent.Exchange.Session.Metadata as Metadata |
49 | import Network.BitTorrent.Exchange.Session.Status as SS | 49 | import Network.BitTorrent.Exchange.Session.Status as SS |
50 | import Network.BitTorrent.Exchange.Status | ||
51 | import Network.BitTorrent.Exchange.Wire | 50 | import Network.BitTorrent.Exchange.Wire |
51 | import Network.BitTorrent.Exchange.Wire.Status | ||
52 | import System.Torrent.Storage | 52 | import System.Torrent.Storage |
53 | 53 | ||
54 | {----------------------------------------------------------------------- | 54 | {----------------------------------------------------------------------- |
diff --git a/src/Network/BitTorrent/Exchange/Wire.hs b/src/Network/BitTorrent/Exchange/Wire.hs index 4224a25d..411cd598 100644 --- a/src/Network/BitTorrent/Exchange/Wire.hs +++ b/src/Network/BitTorrent/Exchange/Wire.hs | |||
@@ -109,7 +109,7 @@ import Data.Torrent.InfoHash | |||
109 | import Data.Torrent.Piece | 109 | import Data.Torrent.Piece |
110 | import Network.BitTorrent.Core | 110 | import Network.BitTorrent.Core |
111 | import Network.BitTorrent.Exchange.Message as Msg | 111 | import Network.BitTorrent.Exchange.Message as Msg |
112 | import Network.BitTorrent.Exchange.Status | 112 | import Network.BitTorrent.Exchange.Wire.Status |
113 | 113 | ||
114 | -- TODO handle port message? | 114 | -- TODO handle port message? |
115 | -- TODO handle limits? | 115 | -- TODO handle limits? |
diff --git a/src/Network/BitTorrent/Exchange/Status.hs b/src/Network/BitTorrent/Exchange/Wire/Status.hs index bc7840a3..d1b60f11 100644 --- a/src/Network/BitTorrent/Exchange/Status.hs +++ b/src/Network/BitTorrent/Exchange/Wire/Status.hs | |||
@@ -9,7 +9,7 @@ | |||
9 | -- sides. | 9 | -- sides. |
10 | -- | 10 | -- |
11 | {-# LANGUAGE TemplateHaskell #-} | 11 | {-# LANGUAGE TemplateHaskell #-} |
12 | module Network.BitTorrent.Exchange.Status | 12 | module Network.BitTorrent.Exchange.Wire.Status |
13 | ( -- * Peer status | 13 | ( -- * Peer status |
14 | PeerStatus(..) | 14 | PeerStatus(..) |
15 | , choking | 15 | , choking |