diff options
author | Joe Crayne <joe@jerkface.net> | 2020-01-24 21:43:44 -0500 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2020-01-25 19:18:12 -0500 |
commit | 81489b13ee734bf5c618e1b826971725df8ed808 (patch) | |
tree | eb45f4806aee2b17394a153b7f99fa7b7287a8bf /dht/src/Network/Tox/Onion/Routes.hs | |
parent | 41b1a490c7b516c0feb0251fdb7723f045773f23 (diff) |
Moved parse-error printing from addHandler to forkListener.
Diffstat (limited to 'dht/src/Network/Tox/Onion/Routes.hs')
-rw-r--r-- | dht/src/Network/Tox/Onion/Routes.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dht/src/Network/Tox/Onion/Routes.hs b/dht/src/Network/Tox/Onion/Routes.hs index 374b9648..46ded48d 100644 --- a/dht/src/Network/Tox/Onion/Routes.hs +++ b/dht/src/Network/Tox/Onion/Routes.hs | |||
@@ -249,7 +249,7 @@ newOnionRouter crypto perror tcp_enabled = do | |||
249 | , tcpKademliaClient = tcp | 249 | , tcpKademliaClient = tcp |
250 | { TCP.tcpClient = | 250 | { TCP.tcpClient = |
251 | let c = TCP.tcpClient tcp | 251 | let c = TCP.tcpClient tcp |
252 | in c { clientNet = addHandler perror (handleMessage c) | 252 | in c { clientNet = addHandler (handleMessage c) |
253 | $ onInbound (updateTCP or) | 253 | $ onInbound (updateTCP or) |
254 | $ clientNet c } | 254 | $ clientNet c } |
255 | } | 255 | } |