diff options
Diffstat (limited to 'src/Network/Tox/Crypto')
-rw-r--r-- | src/Network/Tox/Crypto/Transport.hs | 4 |
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 | ||
755 | lossyness :: MessageID -> LossyOrLossless | 755 | lossyness :: MessageID -> LossyOrLossless |
756 | lossyness (fromEnum -> x) | x < 3 = Lossy | 756 | -- lossyness (fromEnum -> x) | x < 3 = Lossy |
757 | lossyness (fromEnum -> x) | x >= 16, x < 192 = Lossless | 757 | lossyness (fromEnum -> x) | {-x >= 16,-} x < 192 = Lossless |
758 | lossyness (fromEnum -> x) | x >= 192, x < 255 = Lossy | 758 | lossyness (fromEnum -> x) | x >= 192, x < 255 = Lossy |
759 | lossyness (fromEnum -> 255) = Lossless | 759 | lossyness (fromEnum -> 255) = Lossless |
760 | lossyness _ = UnknownLossyness | 760 | lossyness _ = UnknownLossyness |