diff options
Diffstat (limited to 'src/Network/BitTorrent.hs')
-rw-r--r-- | src/Network/BitTorrent.hs | 4 |
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) |