From 3f39679a16551be77603fe316b571401f408f9eb Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Mon, 29 May 2017 15:47:05 +0200
Subject: zlib.lua: fix endianity
---
plugins/zlib.lua | 3 +--
1 file changed, 1 insertion(+), 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 }
-
--
cgit v1.2.3-70-g09d2