summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent.hs
diff options
context:
space:
mode:
authorSam T <pxqr.sta@gmail.com>2013-07-04 05:34:30 +0400
committerSam T <pxqr.sta@gmail.com>2013-07-04 05:34:30 +0400
commit5d390922115b28c010410481e751cea06d5bb693 (patch)
tree81582ea808268ea3fc7e9c8141796143bab715c9 /src/Network/BitTorrent.hs
parentd7442733400a010f48bb9d3f59c4b116a852f453 (diff)
~ Rename PeerID to PeerId.
Diffstat (limited to 'src/Network/BitTorrent.hs')
-rw-r--r--src/Network/BitTorrent.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Network/BitTorrent.hs b/src/Network/BitTorrent.hs
index 4f6eaf16..bb8eb800 100644
--- a/src/Network/BitTorrent.hs
+++ b/src/Network/BitTorrent.hs
@@ -15,7 +15,7 @@ module Network.BitTorrent
15 , defaultThreadCount 15 , defaultThreadCount
16 16
17 -- ** Client 17 -- ** Client
18 , ClientSession( clientPeerID, allowedExtensions ) 18 , ClientSession( clientPeerId, allowedExtensions )
19 19
20 , newClient 20 , newClient
21 , defaultClient 21 , defaultClient
@@ -107,7 +107,7 @@ discover swarm action = {-# SCC discover #-} do
107 107
108 let conn = TConnection (tAnnounce (torrentMeta swarm)) 108 let conn = TConnection (tAnnounce (torrentMeta swarm))
109 (tInfoHash (torrentMeta swarm)) 109 (tInfoHash (torrentMeta swarm))
110 (clientPeerID (clientSession swarm)) 110 (clientPeerId (clientSession swarm))
111 port 111 port
112 112
113 progress <- getCurrentProgress (clientSession swarm) 113 progress <- getCurrentProgress (clientSession swarm)