diff options
Diffstat (limited to 'src/Network/BitTorrent/PeerWire/Block.hs')
-rw-r--r-- | src/Network/BitTorrent/PeerWire/Block.hs | 4 |
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 @@ | |||
1 | module Network.BitTorrent.PeerWire.Block | 1 | module 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 | ||
18 | type BlockLIx = Int | 18 | type BlockLIx = Int |
19 | type PieceLIx = Int | 19 | type PieceLIx = Int |
20 | 20 | type PieceIx = Int | |
21 | 21 | ||
22 | data BlockIx = BlockIx { | 22 | data BlockIx = BlockIx { |
23 | -- ^ Zero-based piece index. | 23 | -- ^ Zero-based piece index. |