symbuf->str,
0, nl_type, ",");
rspamd_printf_gstring (added_headers, "X-Spam-Symbols: %v%s",
- folded_symbuf, line_end, ",");
+ folded_symbuf, line_end);
g_string_free (folded_symbuf, TRUE);
g_string_free (symbuf, TRUE);
});
if (!rspamd_multipattern_compile (ret->stop_words[i].mp, &err)) {
- msg_err_config ("cannot compile stop words for %d language group: %e",
+ msg_err_config ("cannot compile stop words for %z language group: %e",
i, err);
g_error_free (err);
}
return FALSE;
}
- msg_info_task ("converted from %s to UTF-8 inlen: %z, outlen: %d",
+ msg_info_task ("converted from %s to UTF-8 inlen: %d, outlen: %d",
charset, input->len, r);
text_part->utf_raw_content = rspamd_mempool_alloc (task->task_pool,
sizeof (*text_part->utf_raw_content) + sizeof (gpointer) * 4);