Commit 35258d44 authored by Vladimír Čunát's avatar Vladimír Čunát

lua bindings: fix a regression from b42195a2

I'm really sorry; I didn't notice and it only hit parts that
*apparently* aren't tested normally.  Only 32-bit systems would be
affected, due to the structure only changing ABI on 32-bit systems.
parent 9f32f4d6
Pipeline #53490 failed with stages
in 39 minutes and 19 seconds
Knot Resolver 4.2.2 (2019-10-dd)
================================
Bugfixes
--------
- lua bindings: fix a 4.2.1 regression on 32-bit systems (#514)
which also fixes libknot 2.9 support on all systems
Knot Resolver 4.2.1 (2019-09-26)
================================
......
......@@ -65,14 +65,14 @@ if not sover_pos then
error('unexpected libknot soname: ' .. libknot_SONAME)
end
local sover = string.sub(libknot_SONAME, sover_pos , sover_pos)
if sover == '8' then
if sover == '9' then
knot_rdataset_t_cdef = [[
typedef struct {
uint16_t count;
knot_rdata_t *rdata;
} knot_rdataset_t;
]]
elseif sover == '9' then
elseif sover == '1' then -- it's 10 really, but this is simpler
knot_rdataset_t_cdef = [[
typedef struct {
uint16_t count;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment