diff options
Diffstat (limited to 'src/Network/Tox.hs')
-rw-r--r-- | src/Network/Tox.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/Tox.hs b/src/Network/Tox.hs index d0304170..c14339e4 100644 --- a/src/Network/Tox.hs +++ b/src/Network/Tox.hs | |||
@@ -328,7 +328,7 @@ newToxOverTransport keydb addr onNewSession suppliedDHTKey udp tcp = do | |||
328 | (orouter,otbl) <- newOnionRouter crypto (dput XRoutes) | 328 | (orouter,otbl) <- newOnionRouter crypto (dput XRoutes) |
329 | (cryptonet,dhtcrypt,onioncrypt,dtacrypt,handshakes) | 329 | (cryptonet,dhtcrypt,onioncrypt,dtacrypt,handshakes) |
330 | <- toxTransport crypto orouter lookupClose udp | 330 | <- toxTransport crypto orouter lookupClose udp |
331 | (sendMessage (clientNet $ tcpClient $ tcpKademliaClient orouter)) | 331 | (\dst x -> sendMessage (clientNet $ tcpClient $ tcpKademliaClient orouter) dst (True,x)) |
332 | tcp | 332 | tcp |
333 | sessions <- initSessions (sendMessage cryptonet) | 333 | sessions <- initSessions (sendMessage cryptonet) |
334 | 334 | ||