aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/zlib.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/zlib.lua b/plugins/zlib.lua
index 0290194..69c8734 100644
--- a/plugins/zlib.lua
+++ b/plugins/zlib.lua
@@ -18,7 +18,7 @@
-- Based on RFC 1950, this format isn't very widely used
local decode = function (c)
- c.endianity = 'be'
+ c.endianity = 'le'
local deflate_levels = { "fastest", "fast", "default", "slowest" }
local deflate
@@ -54,4 +54,3 @@ local decode = function (c)
end
hex.register { type="zlib", detect=nil, decode=decode }
-