summaryrefslogtreecommitdiff
path: root/src/Network
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network')
-rw-r--r--src/Network/BitTorrent/DHT/Query.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Network/BitTorrent/DHT/Query.hs b/src/Network/BitTorrent/DHT/Query.hs
index 47d17622..533068c6 100644
--- a/src/Network/BitTorrent/DHT/Query.hs
+++ b/src/Network/BitTorrent/DHT/Query.hs
@@ -231,9 +231,8 @@ refreshNodes nid = do
231 231
232-- | This operation do not block but acquire exclusive access to 232-- | This operation do not block but acquire exclusive access to
233-- routing table. 233-- routing table.
234insertNode :: forall ip. Address ip => NodeInfo ip -> Maybe ReflectedIP -> DHT ip ThreadId 234insertNode :: forall ip. Address ip => NodeInfo ip -> Maybe ReflectedIP -> DHT ip ()
235insertNode info witnessed_ip0 = fork $ do 235insertNode info witnessed_ip0 = do
236 -- myThreadId >>= liftIO . flip labelThread "DHT.insertNode"
237 var <- asks routingInfo 236 var <- asks routingInfo
238 tm <- getTimestamp 237 tm <- getTimestamp
239 let showTable = do 238 let showTable = do