commit c0d2f5b: [Minor] Try to fix CI error due to clang bug
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Oct 17 10:21:06 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-10-17 11:18:04 +0100
URL: https://github.com/rspamd/rspamd/commit/c0d2f5b0c3da61cbb03de38bc59b6c5279366428 (HEAD -> master)
[Minor] Try to fix CI error due to clang bug
---
src/lua/lua_common.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c
index a6766f93f..2e34c42dd 100644
--- a/src/lua/lua_common.c
+++ b/src/lua/lua_common.c
@@ -1218,10 +1218,12 @@ rspamd_lua_dumpstack (lua_State *L)
}
if (i < top) {
- r += rspamd_snprintf (buf + r, sizeof (buf) - r, " -> "); /* put a separator */
+ r += rspamd_snprintf (buf + r, sizeof (buf) - r,
+ " -> "); /* put a separator */
}
}
- msg_info (buf);
+
+ msg_info ("%*s", r, buf);
}
gpointer
More information about the Commits
mailing list