From 07ef8d1d2fe204b628e08200a975effc51538163 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Tue, 19 Jun 2018 17:18:30 -0400 Subject: route more logging through dput --- src/Network/Tox/Onion/Transport.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Network/Tox') diff --git a/src/Network/Tox/Onion/Transport.hs b/src/Network/Tox/Onion/Transport.hs index 0da48f76..8a66f2b2 100644 --- a/src/Network/Tox/Onion/Transport.hs +++ b/src/Network/Tox/Onion/Transport.hs @@ -924,7 +924,7 @@ encodeDataToRoute crypto ((me,omsg), AnnouncedRendezvous toxid (Rendezvous pub n } outerSecret <- lookupSharedSecret crypto (onionAliasSecret crypto) pub nonce let dta = ToxCrypto.encrypt outerSecret plain - hPutStrLn stderr $ unlines + dput XOnion $ unlines [ "encodeDataToRoute me=" ++ show (key2id me) , " dhtpk=" ++ case omsg of OnionDHTPublicKey dmsg -> show (key2id $ dhtpk dmsg) -- cgit v1.2.3