]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
modules/serve_stale: drop the unused arguments again docs-develop-ci-l-zs0z29/deployments/4938
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 21 Aug 2024 12:14:26 +0000 (14:14 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 21 Aug 2024 12:14:26 +0000 (14:14 +0200)
This should fix the lint:other CI.  Forgotten in 39f4b5af72f3a.

modules/serve_stale/serve_stale.lua

index 7aa2ee787a6848a9687b925b3a6d3ae583cfc055..d1b18f90e3f4a88701f07051e15302c3d8f6317f 100644 (file)
@@ -8,7 +8,7 @@ local ffi = require('ffi')
 M.timeout = 3*sec
 
 M.callback = ffi.cast("kr_stale_cb",
-       function (ttl, _, _, qry)
+       function (ttl) --, name, type, qry)
                --log_debug(ffi.C.SRVSTALE, '   => called back with TTL: ' .. tostring(ttl))
                if ttl + 3600 * 24 > 0 then -- at most one day stale
                        return 1