diff options
author | jim@bo <jim@bo> | 2018-06-20 20:48:36 -0400 |
---|---|---|
committer | jim@bo <jim@bo> | 2018-06-20 20:48:36 -0400 |
commit | 06229147ebfa72349baec5a2b55081341ff61908 (patch) | |
tree | 3710781754b6aac51debf82dd2addae803930c75 /src | |
parent | f5f4934886a3a8aab4c8a8913346ca30bff80314 (diff) |
fix incomplete pattern match
Diffstat (limited to 'src')
-rw-r--r-- | src/Network/Tox.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/Tox.hs b/src/Network/Tox.hs index 45f8e633..20302343 100644 --- a/src/Network/Tox.hs +++ b/src/Network/Tox.hs | |||
@@ -313,7 +313,7 @@ netCryptoWithBackoff millisecs tox myseckey theirpubkey = do | |||
313 | hPutStrLn stderr ("netCrypto: Already have a session for " ++ show mykeyAsId ++ "<-->" ++ show theirkeyAsId) | 313 | hPutStrLn stderr ("netCrypto: Already have a session for " ++ show mykeyAsId ++ "<-->" ++ show theirkeyAsId) |
314 | return matchedSessions | 314 | return matchedSessions |
315 | -- if not, send handshake, this is separate session | 315 | -- if not, send handshake, this is separate session |
316 | Nothing -> do | 316 | _ -> do |
317 | -- if no session: | 317 | -- if no session: |
318 | -- Convert to NodeInfo, so we can send cookieRequest | 318 | -- Convert to NodeInfo, so we can send cookieRequest |
319 | let crypto = toxCryptoKeys tox | 319 | let crypto = toxCryptoKeys tox |