summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent
diff options
context:
space:
mode:
authorSam T <pxqr.sta@gmail.com>2013-05-17 05:06:00 +0400
committerSam T <pxqr.sta@gmail.com>2013-05-17 05:06:00 +0400
commit3d53b08b7fe4a7727418670e510d826eae576f14 (patch)
treee7d2cb26077b6ab4ab5e732034bc23d542419a85 /src/Network/BitTorrent
parent448b86fca5cac5abfef66598391614a8a4f83a46 (diff)
~ Reorganize modules.
Diffstat (limited to 'src/Network/BitTorrent')
-rw-r--r--src/Network/BitTorrent/Peer/Addr.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/Peer/Addr.hs b/src/Network/BitTorrent/Peer/Addr.hs
index 0e6fcfb9..1c2ac2eb 100644
--- a/src/Network/BitTorrent/Peer/Addr.hs
+++ b/src/Network/BitTorrent/Peer/Addr.hs
@@ -28,7 +28,7 @@ data PeerAddr = PeerAddr {
28 peerID :: Maybe PeerID 28 peerID :: Maybe PeerID
29 , peerIP :: HostAddress 29 , peerIP :: HostAddress
30 , peerPort :: PortNumber 30 , peerPort :: PortNumber
31 } deriving Show 31 } deriving (Show, Eq)
32 32
33instance BEncodable PortNumber where 33instance BEncodable PortNumber where
34 toBEncode = toBEncode . fromEnum 34 toBEncode = toBEncode . fromEnum