summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjim@bo <jim@bo>2018-06-20 20:48:36 -0400
committerjim@bo <jim@bo>2018-06-20 20:48:36 -0400
commit06229147ebfa72349baec5a2b55081341ff61908 (patch)
tree3710781754b6aac51debf82dd2addae803930c75 /src
parentf5f4934886a3a8aab4c8a8913346ca30bff80314 (diff)
fix incomplete pattern match
Diffstat (limited to 'src')
-rw-r--r--src/Network/Tox.hs2
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