diff options
author | James Crayne <jim.crayne@gmail.com> | 2017-10-31 19:41:13 +0000 |
---|---|---|
committer | James Crayne <jim.crayne@gmail.com> | 2017-10-31 19:41:13 +0000 |
commit | 1914912b1fb1163987eee378a03324b71aaf0581 (patch) | |
tree | 6991e770139988b73f7cba2b332e27d281b9339a /src/Network/Tox | |
parent | 7fe3c9e04ecd7aec962bcc83bc4cf5139cf732f0 (diff) |
change name: defaultCryptoDataHooks
Diffstat (limited to 'src/Network/Tox')
-rw-r--r-- | src/Network/Tox/Crypto/Handlers.hs | 4 |
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 | ||
205 | cryptoDefaultHooks :: Map.Map MessageType [NetCryptoHook] | 205 | defaultCryptoDataHooks :: Map.Map MessageType [NetCryptoHook] |
206 | cryptoDefaultHooks = Map.empty | 206 | defaultCryptoDataHooks = Map.empty |