]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Try to fix CI error due to clang bug
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 17 Oct 2019 10:18:04 +0000 (11:18 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 17 Oct 2019 10:18:04 +0000 (11:18 +0100)
src/lua/lua_common.c

index a6766f93f462c5b37b34822320ad636f94d559c1..2e34c42dd8d45aa37c862e1fce6bde90856cee74 100644 (file)
@@ -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