summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Exchange/Wire.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network/BitTorrent/Exchange/Wire.hs')
-rw-r--r--src/Network/BitTorrent/Exchange/Wire.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/Exchange/Wire.hs b/src/Network/BitTorrent/Exchange/Wire.hs
index fe4086bc..e0e652ec 100644
--- a/src/Network/BitTorrent/Exchange/Wire.hs
+++ b/src/Network/BitTorrent/Exchange/Wire.hs
@@ -102,7 +102,7 @@ instance Pretty ChannelSide where
102data ProtocolError 102data ProtocolError
103 -- | Protocol string should be 'BitTorrent Protocol' but remote 103 -- | Protocol string should be 'BitTorrent Protocol' but remote
104 -- peer send a different string. 104 -- peer send a different string.
105 = InvalidProtocol ProtocolString 105 = InvalidProtocol ProtocolName
106 | UnexpectedTopic InfoHash -- ^ peer replied with unexpected infohash. 106 | UnexpectedTopic InfoHash -- ^ peer replied with unexpected infohash.
107 | UnexpectedPeerId PeerId -- ^ peer replied with unexpected peer id. 107 | UnexpectedPeerId PeerId -- ^ peer replied with unexpected peer id.
108 | UnknownTopic InfoHash -- ^ peer requested unknown torrent. 108 | UnknownTopic InfoHash -- ^ peer requested unknown torrent.