This commit is contained in:
Pierre-Olivier Latour
2014-04-09 14:02:58 -07:00
parent d78aa3baae
commit 2ecbfea72f
+1 -1
View File
@@ -110,7 +110,7 @@
if ((result != Z_OK) && (result != Z_STREAM_END)) {
ARC_RELEASE(decodedData);
*error = [NSError errorWithDomain:kZlibErrorDomain code:result userInfo:nil];
return nil;
return NO;
}
length += maxLength - _stream.avail_out;
if (_stream.avail_out > 0) {