diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-26 02:12:03 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-26 02:12:03 +0400 |
commit | 3587cd2a50f2b5ec4303c66ee54e50209a1855f3 (patch) | |
tree | 9d0f757efd94811707754633d2c991247b49a88b /src/Network/BitTorrent/Core | |
parent | ea5c29d7f91397f7979b6f73052ef30a5cdf030f (diff) |
Fix documentation markup
Diffstat (limited to 'src/Network/BitTorrent/Core')
-rw-r--r-- | src/Network/BitTorrent/Core/PeerAddr.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Network/BitTorrent/Core/PeerAddr.hs b/src/Network/BitTorrent/Core/PeerAddr.hs index b9d4878e..261df8d0 100644 --- a/src/Network/BitTorrent/Core/PeerAddr.hs +++ b/src/Network/BitTorrent/Core/PeerAddr.hs | |||
@@ -133,13 +133,13 @@ instance BEncode IPv6 where | |||
133 | fromBEncode = ipFromBEncode | 133 | fromBEncode = ipFromBEncode |
134 | {-# INLINE fromBEncode #-} | 134 | {-# INLINE fromBEncode #-} |
135 | 135 | ||
136 | -- | When 'get'ing an IP it must be 'isolate'd to the appropriate | ||
137 | -- number of bytes since we have no other way of telling which | ||
138 | -- address type we are trying to parse | ||
136 | instance Serialize IP where | 139 | instance Serialize IP where |
137 | put (IPv4 ip) = put ip | 140 | put (IPv4 ip) = put ip |
138 | put (IPv6 ip) = put ip | 141 | put (IPv6 ip) = put ip |
139 | 142 | ||
140 | -- | When 'get'ing an IP it must be 'isolate'd to the appropriate number of | ||
141 | -- bytes since we have no other way of telling which address type we are | ||
142 | -- trying to parse | ||
143 | get = do | 143 | get = do |
144 | n <- remaining | 144 | n <- remaining |
145 | case n of | 145 | case n of |