summaryrefslogtreecommitdiff
path: root/src/Network/Tox
diff options
context:
space:
mode:
authorJames Crayne <jim.crayne@gmail.com>2017-10-31 19:41:13 +0000
committerJames Crayne <jim.crayne@gmail.com>2017-10-31 19:41:13 +0000
commit1914912b1fb1163987eee378a03324b71aaf0581 (patch)
tree6991e770139988b73f7cba2b332e27d281b9339a /src/Network/Tox
parent7fe3c9e04ecd7aec962bcc83bc4cf5139cf732f0 (diff)
change name: defaultCryptoDataHooks
Diffstat (limited to 'src/Network/Tox')
-rw-r--r--src/Network/Tox/Crypto/Handlers.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Network/Tox/Crypto/Handlers.hs b/src/Network/Tox/Crypto/Handlers.hs
index 8a45ba64..29376e63 100644
--- a/src/Network/Tox/Crypto/Handlers.hs
+++ b/src/Network/Tox/Crypto/Handlers.hs
@@ -202,5 +202,5 @@ cryptoNetHandler sessions addr (NetCrypto (CryptoPacket nonce16 encrypted)) = do
202 _ -> error "unreachable-last2Bytes" 202 _ -> error "unreachable-last2Bytes"
203 dATA_NUM_THRESHOLD = 21845 -- = 65535 / 3 203 dATA_NUM_THRESHOLD = 21845 -- = 65535 / 3
204 204
205cryptoDefaultHooks :: Map.Map MessageType [NetCryptoHook] 205defaultCryptoDataHooks :: Map.Map MessageType [NetCryptoHook]
206cryptoDefaultHooks = Map.empty 206defaultCryptoDataHooks = Map.empty