summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bittorrent.cabal2
-rw-r--r--src/Network/BitTorrent/PeerWire.hs2
-rw-r--r--src/Network/BitTorrent/PeerWire/Protocol.hs (renamed from src/Network/BitTorrent/PeerWire/Message.hs)7
3 files changed, 6 insertions, 5 deletions
diff --git a/bittorrent.cabal b/bittorrent.cabal
index 1a28c880..526f703a 100644
--- a/bittorrent.cabal
+++ b/bittorrent.cabal
@@ -47,8 +47,8 @@ library
47 , Network.BitTorrent.PeerWire 47 , Network.BitTorrent.PeerWire
48 , Network.BitTorrent.PeerWire.Block 48 , Network.BitTorrent.PeerWire.Block
49 , Network.BitTorrent.PeerWire.Selection 49 , Network.BitTorrent.PeerWire.Selection
50 , Network.BitTorrent.PeerWire.Message
51 , Network.BitTorrent.PeerWire.Handshake 50 , Network.BitTorrent.PeerWire.Handshake
51 , Network.BitTorrent.PeerWire.Protocol
52 52
53 other-modules: 53 other-modules:
54 54
diff --git a/src/Network/BitTorrent/PeerWire.hs b/src/Network/BitTorrent/PeerWire.hs
index d0583bff..5ac4c7f3 100644
--- a/src/Network/BitTorrent/PeerWire.hs
+++ b/src/Network/BitTorrent/PeerWire.hs
@@ -10,5 +10,5 @@ module Network.BitTorrent.PeerWire (module PW) where
10 10
11import Network.BitTorrent.PeerWire.Block as PW 11import Network.BitTorrent.PeerWire.Block as PW
12import Network.BitTorrent.PeerWire.Selection as PW 12import Network.BitTorrent.PeerWire.Selection as PW
13import Network.BitTorrent.PeerWire.Message as PW 13import Network.BitTorrent.PeerWire.Protocol as PW
14import Network.BitTorrent.PeerWire.Handshake as PW 14import Network.BitTorrent.PeerWire.Handshake as PW
diff --git a/src/Network/BitTorrent/PeerWire/Message.hs b/src/Network/BitTorrent/PeerWire/Protocol.hs
index 3895ed5f..a4d987e6 100644
--- a/src/Network/BitTorrent/PeerWire/Message.hs
+++ b/src/Network/BitTorrent/PeerWire/Protocol.hs
@@ -1,7 +1,8 @@
1{-# LANGUAGE OverloadedStrings #-} 1{-# LANGUAGE OverloadedStrings #-}
2module Network.BitTorrent.PeerWire.Message 2module Network.BitTorrent.PeerWire.Protocol
3 ( Message(..) 3 (
4 , Bitfield 4 -- * Messages
5 Message(..)
5 , ppMessage 6 , ppMessage
6 ) where 7 ) where
7 8