summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Exchange/Session
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent/Exchange/Session')
-rw-r--r--src/Network/BitTorrent/Exchange/Session/Metadata.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/Exchange/Session/Metadata.hs b/src/Network/BitTorrent/Exchange/Session/Metadata.hs
index 7e14f493..174550fa 100644
--- a/src/Network/BitTorrent/Exchange/Session/Metadata.hs
+++ b/src/Network/BitTorrent/Exchange/Session/Metadata.hs
@@ -38,7 +38,8 @@ data Status = Status
38 38
39makeLenses ''Status 39makeLenses ''Status
40 40
41nullStatus :: PieceSize -> Status 41-- | Create a new scheduler for infodict of the given size.
42nullStatus :: Int -> Status
42nullStatus ps = Status [] (Block.empty ps) 43nullStatus ps = Status [] (Block.empty ps)
43 44
44type Updates a = State Status a 45type Updates a = State Status a