summaryrefslogtreecommitdiff
path: root/src/Network
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network')
-rw-r--r--src/Network/BitTorrent/Tracker/RPC/UDP.hs4
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
125unblockAll :: PendingQueries -> IO () 125unblockAll :: PendingQueries -> IO ()
126unblockAll m = traverse (traverse unblock) m >> return () 126unblockAll 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
130resetState :: Manager -> IO () 130resetState :: Manager -> IO ()
131resetState Manager {..} = do 131resetState Manager {..} = do