zlib.lua: fix endianity

This commit is contained in:
Přemysl Eric Janouch 2017-05-29 15:47:05 +02:00
parent e6e1c19bad
commit 3f39679a16
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 1 additions and 2 deletions

View File

@ -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 }