summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/PeerWire/Block.hs
diff options
context:
space:
mode:
authorSam T <sta.cs.vsu@gmail.com>2013-04-24 19:44:32 +0400
committerSam T <sta.cs.vsu@gmail.com>2013-04-24 19:44:32 +0400
commita7c82906934d7e640cda5c26448ce4fa232d2b46 (patch)
tree7a16fee4c81eeacc0c2347d263fcf11a66e46714 /src/Network/BitTorrent/PeerWire/Block.hs
parentea7947d3db0217f31dc507f930f3d9e6c6f437c0 (diff)
+ Add BEP 6 messages.
Diffstat (limited to 'src/Network/BitTorrent/PeerWire/Block.hs')
-rw-r--r--src/Network/BitTorrent/PeerWire/Block.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Network/BitTorrent/PeerWire/Block.hs b/src/Network/BitTorrent/PeerWire/Block.hs
index 8e4a1f24..ddbc1020 100644
--- a/src/Network/BitTorrent/PeerWire/Block.hs
+++ b/src/Network/BitTorrent/PeerWire/Block.hs
@@ -1,5 +1,5 @@
1module Network.BitTorrent.PeerWire.Block 1module Network.BitTorrent.PeerWire.Block
2 ( BlockIx(..), Block(..) 2 ( BlockIx(..), Block(..), PieceIx
3 , BlockLIx, PieceLIx 3 , BlockLIx, PieceLIx
4 , defaultBlockSize 4 , defaultBlockSize
5 , pieceIx, blockIx 5 , pieceIx, blockIx
@@ -17,7 +17,7 @@ import Data.Serialize
17 17
18type BlockLIx = Int 18type BlockLIx = Int
19type PieceLIx = Int 19type PieceLIx = Int
20 20type PieceIx = Int
21 21
22data BlockIx = BlockIx { 22data BlockIx = BlockIx {
23 -- ^ Zero-based piece index. 23 -- ^ Zero-based piece index.