gzip.lua: fix variable scope

This commit is contained in:
Přemysl Eric Janouch 2017-06-22 23:35:15 +02:00
parent f075d11b0d
commit 59f1a85d1b
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ local decode = function (c)
return "unknown: %d", u8
end)
c:u8 ("OS: %s", function (u8)
os = os_table[u8]
local os = os_table[u8]
if os then return os end
return "unknown: %d", u8
end)