aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-06-22 23:35:15 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2017-11-14 03:23:45 +0100
commit59f1a85d1bc36a34cfcacb4faa993b82a965a109 (patch)
tree513e1fcf1b76ed3a1c5398364e683e9dd06c3ed0 /plugins
parentf075d11b0da12734891e4857d4589a2db9a2ae9d (diff)
downloadhex-59f1a85d1bc36a34cfcacb4faa993b82a965a109.tar.gz
hex-59f1a85d1bc36a34cfcacb4faa993b82a965a109.tar.xz
hex-59f1a85d1bc36a34cfcacb4faa993b82a965a109.zip
gzip.lua: fix variable scope
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gzip.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gzip.lua b/plugins/gzip.lua
index 8cc93a1..68b0cd3 100644
--- a/plugins/gzip.lua
+++ b/plugins/gzip.lua
@@ -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)