diff options
Diffstat (limited to 'src/Network/Tox/Onion/Handlers.hs')
-rw-r--r-- | src/Network/Tox/Onion/Handlers.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Network/Tox/Onion/Handlers.hs b/src/Network/Tox/Onion/Handlers.hs index 0d8a9151..a16508cd 100644 --- a/src/Network/Tox/Onion/Handlers.hs +++ b/src/Network/Tox/Onion/Handlers.hs | |||
@@ -283,6 +283,7 @@ sendOnion getTimeout client req oaddr unwrap = | |||
283 | -- Four tries and then we tap out. | 283 | -- Four tries and then we tap out. |
284 | flip fix 4 $ \loop n -> do | 284 | flip fix 4 $ \loop n -> do |
285 | mb <- QR.sendQuery client (announceSerializer getTimeout) req oaddr | 285 | mb <- QR.sendQuery client (announceSerializer getTimeout) req oaddr |
286 | forM_ mb $ \r -> dput XAnnounce $ show (onionNodeInfo oaddr) ++ " sent response: " ++ show r | ||
286 | maybe (if n>0 then loop $! n - 1 else return Nothing) | 287 | maybe (if n>0 then loop $! n - 1 else return Nothing) |
287 | (return . Just . unwrap (onionNodeInfo oaddr)) | 288 | (return . Just . unwrap (onionNodeInfo oaddr)) |
288 | $ join mb | 289 | $ join mb |