commit c4cb804: [Minor] Fix format string

Vsevolod Stakhov vsevolod at highsecure.ru
Fri May 24 15:56:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-05-24 16:50:32 +0100
URL: https://github.com/rspamd/rspamd/commit/c4cb8042cb328a0867878a1a35b08e559e29a7e9 (HEAD -> master)

[Minor] Fix format string

---
 src/libserver/cfg_rcl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index d5e30d8a7..4c069db9e 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -3511,7 +3511,7 @@ rspamd_rcl_maybe_apply_lua_transform (struct rspamd_config *cfg)
 	ucl_object_push_lua (L, cfg->rcl_obj, true);
 
 	if ((ret = lua_pcall (L, 1, 2, err_idx)) != 0) {
-		msg_err ("call to rspamadm lua script failed (%d): %v", ret,
+		msg_err ("call to rspamadm lua script failed (%d): %s", ret,
 				lua_tostring (L, -1));
 		lua_settop (L, 0);
 


More information about the Commits mailing list