aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-17 11:18:04 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-10-17 11:18:04 +0100
commitc0d2f5b0c3da61cbb03de38bc59b6c5279366428 (patch)
treee65ae38893272b97f03e5f9ba413ce606109319c
parent6c4754cee33f8cbd24701429deb67236cccbfa37 (diff)
downloadrspamd-c0d2f5b0c3da61cbb03de38bc59b6c5279366428.tar.gz
rspamd-c0d2f5b0c3da61cbb03de38bc59b6c5279366428.zip
[Minor] Try to fix CI error due to clang bug
-rw-r--r--src/lua/lua_common.c6
1 files 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