summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Network/Tox/Crypto/Transport.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Network/Tox/Crypto/Transport.hs b/src/Network/Tox/Crypto/Transport.hs
index a5634d71..a453a13c 100644
--- a/src/Network/Tox/Crypto/Transport.hs
+++ b/src/Network/Tox/Crypto/Transport.hs
@@ -753,8 +753,8 @@ data LossyOrLossless = UnknownLossyness | Lossless | Lossy
753 deriving (Eq,Ord,Enum,Show,Bounded) 753 deriving (Eq,Ord,Enum,Show,Bounded)
754 754
755lossyness :: MessageID -> LossyOrLossless 755lossyness :: MessageID -> LossyOrLossless
756lossyness (fromEnum -> x) | x < 3 = Lossy 756-- lossyness (fromEnum -> x) | x < 3 = Lossy
757lossyness (fromEnum -> x) | x >= 16, x < 192 = Lossless 757lossyness (fromEnum -> x) | {-x >= 16,-} x < 192 = Lossless
758lossyness (fromEnum -> x) | x >= 192, x < 255 = Lossy 758lossyness (fromEnum -> x) | x >= 192, x < 255 = Lossy
759lossyness (fromEnum -> 255) = Lossless 759lossyness (fromEnum -> 255) = Lossless
760lossyness _ = UnknownLossyness 760lossyness _ = UnknownLossyness