]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
prefill nit: better error messages
authorVladimír Čunát <vladimir.cunat@nic.cz>
Sun, 25 May 2025 08:17:44 +0000 (10:17 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Sun, 25 May 2025 08:17:44 +0000 (10:17 +0200)
commit86922c8cc96724f41c76c8b27e1c65977d62aedf
tree30c880423ecf52ae069d78e5f8e9cb71b0f2018e
parent4e191ce8d43e3c4109b1350a1b0e52c8d6eb8b10
prefill nit: better error messages

Avoid the ugly cdata<const char *>: 0x7fe6202c7f80
Moreover the return code is -1 in my test case,
but that does not imply EPERM: Operation not permitted.
It was all unnecessary mess, including the pcall+error() pair.
Also avoid some double-wrapping by '[prefil]'.
daemon/zimport.h
modules/prefill/prefill.lua