]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Use 0 instead of LUA_OK for lua_pcall result comparison 5774/head
authorPetr Vaněk <arkamar@atlas.cz>
Tue, 2 Dec 2025 21:06:16 +0000 (22:06 +0100)
committerPetr Vaněk <arkamar@atlas.cz>
Tue, 2 Dec 2025 21:09:12 +0000 (22:09 +0100)
commit73f7b82ab3507049a752ffc15a0615cd9d7a10df
tree2c78788a58c0523b486400ab63279f201c1afe8e
parent829c3126c876f16c5948b12ac884548bdfd36b10
[Fix] Use 0 instead of LUA_OK for lua_pcall result comparison

Lua 5.1 does not define LUA_OK, so the result of lua_pcall is compared
to 0 instead, which is consistent with the rest of the codebase.

Link: https://bugs.gentoo.org/967009
src/rspamadm/confighelp.c