From c15da2e2b376d81671f35e821e94db19e59d5ddd Mon Sep 17 00:00:00 2001 From: Sam T Date: Sun, 30 Jun 2013 05:18:24 +0400 Subject: + Add very basic storage operations. Now we can download and make some progress, but very unstable. --- src/Network/BitTorrent/Exchange/Protocol.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Network/BitTorrent/Exchange/Protocol.hs') diff --git a/src/Network/BitTorrent/Exchange/Protocol.hs b/src/Network/BitTorrent/Exchange/Protocol.hs index 8d42e3a8..4cf4685d 100644 --- a/src/Network/BitTorrent/Exchange/Protocol.hs +++ b/src/Network/BitTorrent/Exchange/Protocol.hs @@ -237,7 +237,7 @@ data Block = Block { , blkOffset :: {-# UNPACK #-} !Int -- | Payload. - , blkData :: !ByteString + , blkData :: !ByteString -- TODO make lazy bytestring } deriving (Show, Eq) -- | Format block in human readable form. Payload is ommitted. -- cgit v1.2.3