Issue #370: Fix problem where stream errors would not be detected
It seems the comparison has always been against the wrong enum, so the check would never trigger previously. The latest llvm issues a warning like this: ASIDataDecompressor.m:161:34: Comparison of constant 'NSStreamEventErrorOccurred' (8) with expression of type 'NSStreamStatus' (aka 'enum NSStreamStatus') is always false [patch from github user 'OpenFibers', thanks!]
Showing
2 changed files
with
4 additions
and
4 deletions
-
Please register or login to post a comment