diff options
Diffstat (limited to 'src/libserver/task.c')
-rw-r--r-- | src/libserver/task.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c index c1fcc752f..5c4ca4565 100644 --- a/src/libserver/task.c +++ b/src/libserver/task.c @@ -1137,7 +1137,8 @@ rspamd_task_log_metric_res (struct rspamd_task *task, j = 0; DL_FOREACH (sym->opts_head, opt) { - rspamd_printf_fstring (&symbuf, "%s;", opt->option); + rspamd_printf_fstring (&symbuf, "%*s;", + (gint)opt->optlen, opt->option); if (j >= max_log_elts) { rspamd_printf_fstring (&symbuf, "...;"); |