summaryrefslogtreecommitdiff
path: root/dht/src/Data/Tox
diff options
context:
space:
mode:
authorJoe Crayne <joe@jerkface.net>2020-01-17 18:07:41 -0500
committerJoe Crayne <joe@jerkface.net>2020-01-25 19:18:12 -0500
commit938ef8b447e975a39121104b4206cd149a2f911e (patch)
treeb4c5680e48f4cc082ee46f7a206de8638a499c46 /dht/src/Data/Tox
parent81489b13ee734bf5c618e1b826971725df8ed808 (diff)
Improved debug prints.
Diffstat (limited to 'dht/src/Data/Tox')
-rw-r--r--dht/src/Data/Tox/DHT/Multi.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dht/src/Data/Tox/DHT/Multi.hs b/dht/src/Data/Tox/DHT/Multi.hs
index 878b47e6..4067ab46 100644
--- a/dht/src/Data/Tox/DHT/Multi.hs
+++ b/dht/src/Data/Tox/DHT/Multi.hs
@@ -149,4 +149,4 @@ showSessionAddr :: SessionAddress -> String
149showSessionAddr (SessionUDP :=> Identity udp) = 149showSessionAddr (SessionUDP :=> Identity udp) =
150 show (SockAddr.canonize udp) 150 show (SockAddr.canonize udp)
151showSessionAddr (SessionTCP :=> Identity (ViaRelay mcon _ tcp)) = 151showSessionAddr (SessionTCP :=> Identity (ViaRelay mcon _ tcp)) =
152 "TCP:" ++ maybe "" (\(ConId con) -> "(" ++ show con ++ ")") mcon ++ show tcp 152 "TCP:" ++ maybe "(oob)" (\(ConId con) -> "(" ++ show con ++ ")") mcon ++ show tcp