From 59f1a85d1bc36a34cfcacb4faa993b82a965a109 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Thu, 22 Jun 2017 23:35:15 +0200
Subject: gzip.lua: fix variable scope
---
plugins/gzip.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'plugins')
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)
--
cgit v1.2.3-70-g09d2