summaryrefslogtreecommitdiff
path: root/dht/Announcer
diff options
context:
space:
mode:
authorJoe Crayne <joe@jerkface.net>2020-01-11 21:27:43 -0500
committerJoe Crayne <joe@jerkface.net>2020-01-11 21:27:43 -0500
commitc3af9eb007c96c7fe816cc428f1e37881241b48c (patch)
tree297f2d7029fd992b8d1cd2cc74c25cb051f87ab1 /dht/Announcer
parent6be7ff71f850e90f61c8f3b80b2b513b34891c57 (diff)
WIP: efforts regarding tcp-mediated connections.
Diffstat (limited to 'dht/Announcer')
-rw-r--r--dht/Announcer/Tox.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dht/Announcer/Tox.hs b/dht/Announcer/Tox.hs
index 00eb219b..38e5bbfa 100644
--- a/dht/Announcer/Tox.hs
+++ b/dht/Announcer/Tox.hs
@@ -193,7 +193,7 @@ scheduleSearch announcer k SearchMethod{sSearch,sWithResult,sNearestNodes,sTarge
193 mutex <- newMVar () -- This mutex insures one search at a time. 193 mutex <- newMVar () -- This mutex insures one search at a time.
194 let astate = AnnounceState st ns 194 let astate = AnnounceState st ns
195 onResult sr = do 195 onResult sr = do
196 runAction announcer "with-search-result" $ do 196 runAction announcer ("search-result:"++unpackAnnounceKey announcer k) $ do
197 got <- sWithResult r sr 197 got <- sWithResult r sr
198 -- If we had a way to get the source of a search result, we might want to 198 -- If we had a way to get the source of a search result, we might want to
199 -- treat it similarly to an announcing node and remember it in the 'aStoringNodes' 199 -- treat it similarly to an announcing node and remember it in the 'aStoringNodes'