From 1bfd9cdb74a7ba70c54bf84949889253032f8869 Mon Sep 17 00:00:00 2001 From: Sam Truzjan Date: Sun, 15 Dec 2013 21:35:12 +0400 Subject: Strictify peerHost field --- src/Network/BitTorrent/Core/PeerAddr.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- compact list encoding. data PeerAddr a = PeerAddr { peerId :: !(Maybe PeerId) - , peerHost :: a + , peerHost :: !a , peerPort :: {-# UNPACK #-} !PortNumber } deriving (Show, Eq, Typeable, Functor) -- cgit v1.2.3