mirror of
https://github.com/bol-van/zapret2.git
synced 2026-03-14 06:13:09 +00:00
zapret-lib: do not error on premature file end
This commit is contained in:
@@ -1457,7 +1457,7 @@ function gunzip_file(filename, read_block_size)
|
||||
if err then
|
||||
error("gunzip_file: file read error : "..err)
|
||||
else
|
||||
error("gunzip_file: premature EOF")
|
||||
return nil
|
||||
end
|
||||
end
|
||||
local decomp, eof = gunzip_inflate(gz, compressed)
|
||||
|
||||
Reference in New Issue
Block a user