Template
1
0
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:
bol-van
2026-01-06 16:40:58 +03:00
parent 8bc74d0c4f
commit 05647e84ef

View File

@@ -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)