diff options
Diffstat (limited to 'src/Network')
-rw-r--r-- | src/Network/BitTorrent/Tracker/RPC/UDP.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Network/BitTorrent/Tracker/RPC/UDP.hs b/src/Network/BitTorrent/Tracker/RPC/UDP.hs index f271e864..d0468e32 100644 --- a/src/Network/BitTorrent/Tracker/RPC/UDP.hs +++ b/src/Network/BitTorrent/Tracker/RPC/UDP.hs | |||
@@ -123,9 +123,9 @@ initManager opts = Manager opts | |||
123 | <*> newEmptyMVar | 123 | <*> newEmptyMVar |
124 | 124 | ||
125 | unblockAll :: PendingQueries -> IO () | 125 | unblockAll :: PendingQueries -> IO () |
126 | unblockAll m = traverse (traverse unblock) m >> return () | 126 | unblockAll m = traverse (traverse unblockCall) m >> return () |
127 | where | 127 | where |
128 | unblock ares = putMVar ares (Left ManagerClosed) | 128 | unblockCall ares = putMVar ares (Left ManagerClosed) |
129 | 129 | ||
130 | resetState :: Manager -> IO () | 130 | resetState :: Manager -> IO () |
131 | resetState Manager {..} = do | 131 | resetState Manager {..} = do |