summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Exchange/Message.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent/Exchange/Message.hs')
-rw-r--r--src/Network/BitTorrent/Exchange/Message.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/Exchange/Message.hs b/src/Network/BitTorrent/Exchange/Message.hs
index 6fcf22f7..38a8ac33 100644
--- a/src/Network/BitTorrent/Exchange/Message.hs
+++ b/src/Network/BitTorrent/Exchange/Message.hs
@@ -514,7 +514,7 @@ appendBDict :: BDict -> ExtendedMap -> ExtendedMap
514appendBDict (Cons key val xs) caps 514appendBDict (Cons key val xs) caps
515 | Just ext <- fromKey key 515 | Just ext <- fromKey key
516 , Right eid <- fromBEncode val = M.insert ext eid (appendBDict xs caps) 516 , Right eid <- fromBEncode val = M.insert ext eid (appendBDict xs caps)
517 | otherwise = caps 517 | otherwise = appendBDict xs caps
518appendBDict Nil caps = caps 518appendBDict Nil caps = caps
519 519
520-- | Handshake compatible encoding. 520-- | Handshake compatible encoding.