diff options
-rw-r--r-- | src/lua/lua_common.c | 6 |
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 |