diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2017-06-22 23:35:15 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2017-11-14 03:23:45 +0100 |
commit | 59f1a85d1bc36a34cfcacb4faa993b82a965a109 (patch) | |
tree | 513e1fcf1b76ed3a1c5398364e683e9dd06c3ed0 /plugins/gzip.lua | |
parent | f075d11b0da12734891e4857d4589a2db9a2ae9d (diff) | |
download | hex-59f1a85d1bc36a34cfcacb4faa993b82a965a109.tar.gz hex-59f1a85d1bc36a34cfcacb4faa993b82a965a109.tar.xz hex-59f1a85d1bc36a34cfcacb4faa993b82a965a109.zip |
gzip.lua: fix variable scope
Diffstat (limited to 'plugins/gzip.lua')
-rw-r--r-- | plugins/gzip.lua | 2 |
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) |