diff options
Diffstat (limited to 'src/Network/BitTorrent/Tracker.hs')
-rw-r--r-- | src/Network/BitTorrent/Tracker.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/Tracker.hs b/src/Network/BitTorrent/Tracker.hs index 2e599002..aaa08f3c 100644 --- a/src/Network/BitTorrent/Tracker.hs +++ b/src/Network/BitTorrent/Tracker.hs | |||
@@ -145,7 +145,7 @@ data TSession = TSession { | |||
145 | newSession :: Progress -> Int -> [PeerAddr] -> IO TSession | 145 | newSession :: Progress -> Int -> [PeerAddr] -> IO TSession |
146 | newSession pr i ps = TSession <$> newTVarIO pr | 146 | newSession pr i ps = TSession <$> newTVarIO pr |
147 | <*> newIORef i | 147 | <*> newIORef i |
148 | <*> newTVarIO psx | 148 | <*> newTVarIO ps |
149 | 149 | ||
150 | getPeerList :: TSession -> IO [PeerAddr] | 150 | getPeerList :: TSession -> IO [PeerAddr] |
151 | getPeerList = readTVarIO . sePeers | 151 | getPeerList = readTVarIO . sePeers |