summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2013-12-15 21:35:12 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2013-12-15 21:35:12 +0400
commit1bfd9cdb74a7ba70c54bf84949889253032f8869 (patch)
treee295265abc160786c64a800ad7e0b288273fef02 /src
parent110ca6eeeaf60c59992546614f31361ff058ae0f (diff)
Strictify peerHost field
Diffstat (limited to 'src')
-rw-r--r--src/Network/BitTorrent/Core/PeerAddr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/Core/PeerAddr.hs b/src/Network/BitTorrent/Core/PeerAddr.hs
index 6ef20f06..c9ec6b96 100644
--- a/src/Network/BitTorrent/Core/PeerAddr.hs
+++ b/src/Network/BitTorrent/Core/PeerAddr.hs
@@ -136,7 +136,7 @@ instance Serialize IPv6 where
136-- compact list encoding. 136-- compact list encoding.
137data PeerAddr a = PeerAddr 137data PeerAddr a = PeerAddr
138 { peerId :: !(Maybe PeerId) 138 { peerId :: !(Maybe PeerId)
139 , peerHost :: a 139 , peerHost :: !a
140 , peerPort :: {-# UNPACK #-} !PortNumber 140 , peerPort :: {-# UNPACK #-} !PortNumber
141 } deriving (Show, Eq, Typeable, Functor) 141 } deriving (Show, Eq, Typeable, Functor)
142 142