mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-04-24 00:00:04 +08:00
Fix
This commit is contained in:
@@ -110,7 +110,7 @@
|
|||||||
if ((result != Z_OK) && (result != Z_STREAM_END)) {
|
if ((result != Z_OK) && (result != Z_STREAM_END)) {
|
||||||
ARC_RELEASE(decodedData);
|
ARC_RELEASE(decodedData);
|
||||||
*error = [NSError errorWithDomain:kZlibErrorDomain code:result userInfo:nil];
|
*error = [NSError errorWithDomain:kZlibErrorDomain code:result userInfo:nil];
|
||||||
return nil;
|
return NO;
|
||||||
}
|
}
|
||||||
length += maxLength - _stream.avail_out;
|
length += maxLength - _stream.avail_out;
|
||||||
if (_stream.avail_out > 0) {
|
if (_stream.avail_out > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user