summaryrefslogtreecommitdiff
path: root/examples/dhtd.hs
diff options
context:
space:
mode:
authorJoe Crayne <joe@jerkface.net>2018-12-15 02:34:00 -0500
committerJoe Crayne <joe@jerkface.net>2018-12-16 14:08:27 -0500
commit0403b3426c268409969eb517dce86e9c2ce12988 (patch)
tree2d12967dd1c68d8fc7943d94685f67cb84493ec9 /examples/dhtd.hs
parenta599a465072409a428ea5973083844090d270968 (diff)
WIP: Support for sending onion queries to TCP relays.
Diffstat (limited to 'examples/dhtd.hs')
-rw-r--r--examples/dhtd.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dhtd.hs b/examples/dhtd.hs
index 163226cb..d014a611 100644
--- a/examples/dhtd.hs
+++ b/examples/dhtd.hs
@@ -1710,7 +1710,7 @@ main = do
1710 let defaultToxData = do 1710 let defaultToxData = do
1711 rster <- Tox.newContactInfo 1711 rster <- Tox.newContactInfo
1712 crypto <- newCrypto 1712 crypto <- newCrypto
1713 orouter <- newOnionRouter crypto (dput XMisc) 1713 (orouter,_) <- newOnionRouter crypto (dput XMisc)
1714 return (rster, orouter) 1714 return (rster, orouter)
1715 (rstr,orouter) <- fromMaybe defaultToxData $ do 1715 (rstr,orouter) <- fromMaybe defaultToxData $ do
1716 tox <- mbtox 1716 tox <- mbtox