summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/PeerWire/Message.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent/PeerWire/Message.hs')
-rw-r--r--src/Network/BitTorrent/PeerWire/Message.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/PeerWire/Message.hs b/src/Network/BitTorrent/PeerWire/Message.hs
index c98c9808..e833ba03 100644
--- a/src/Network/BitTorrent/PeerWire/Message.hs
+++ b/src/Network/BitTorrent/PeerWire/Message.hs
@@ -77,7 +77,7 @@ data Message = KeepAlive
77instance Serialize Message where 77instance Serialize Message where
78 get = do 78 get = do
79 len <- getInt 79 len <- getInt
80 lookAhead $ ensure len 80 _ <- lookAhead $ ensure len
81 if len == 0 then return KeepAlive 81 if len == 0 then return KeepAlive
82 else do 82 else do
83 mid <- getWord8 83 mid <- getWord8