mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-18 01:36:11 +08:00
bugfix #53
This commit is contained in:
@@ -34,6 +34,10 @@ static int bz2_read(const struct bspatch_stream* stream, void* buffer, int lengt
|
||||
int bz2err;
|
||||
bz_stream* zip;
|
||||
|
||||
if (length == 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
zip = (bz_stream*)stream->opaque;
|
||||
zip->next_out = (char*)buffer;
|
||||
zip->avail_out = length;
|
||||
|
Reference in New Issue
Block a user