summaryrefslogtreecommitdiff
path: root/examples/dhtd.hs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dhtd.hs')
-rw-r--r--examples/dhtd.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/dhtd.hs b/examples/dhtd.hs
index 17e62cd7..0731d322 100644
--- a/examples/dhtd.hs
+++ b/examples/dhtd.hs
@@ -1383,7 +1383,7 @@ newXmmpSink session@(Tox.NCrypto { ncOutgoingQueue = outGoingQVar, ncPacketQueue
1383-- order to set up translating conduits that simulate a remote XMPP server. 1383-- order to set up translating conduits that simulate a remote XMPP server.
1384announceToxJabberPeer :: PublicKey -- ^ This node's long-term user key. 1384announceToxJabberPeer :: PublicKey -- ^ This node's long-term user key.
1385 -> PublicKey -- ^ Remote tox node's long-term user key. 1385 -> PublicKey -- ^ Remote tox node's long-term user key.
1386 -> TChan ((ConnectionKey,SockAddr), Tcp.ConnectionEvent XML.Event) 1386 -> TChan ((ConnectionKey,ConnectionData), Tcp.ConnectionEvent XML.Event)
1387 -> SockAddr -- ^ Local bind address for incoming Tox packets. 1387 -> SockAddr -- ^ Local bind address for incoming Tox packets.
1388 -> SockAddr -- ^ Remote address for this connection. 1388 -> SockAddr -- ^ Remote address for this connection.
1389 -> STM Bool 1389 -> STM Bool
@@ -1393,7 +1393,7 @@ announceToxJabberPeer :: PublicKey -- ^ This node's long-term user key.
1393announceToxJabberPeer me them echan laddr saddr pingflag tsrc tsnk 1393announceToxJabberPeer me them echan laddr saddr pingflag tsrc tsnk
1394 = do 1394 = do
1395 atomically $ writeTChan echan 1395 atomically $ writeTChan echan
1396 ( (PeerKey saddr, laddr ) 1396 ( (PeerKey saddr, ConnectionData laddr XMPPServer.Tox )
1397 , Tcp.Connection pingflag xsrc xsnk ) 1397 , Tcp.Connection pingflag xsrc xsnk )
1398 return Nothing 1398 return Nothing
1399 where 1399 where