}
if (src == NULL) {
- msg_info_task ("cannot load image of type %s from %s",
+ msg_info_task ("cannot load image of type %s from %T",
rspamd_image_type_str (img->type), img->filename);
}
else {
while (g_hash_table_iter_next (&it, &k, &v)) {
w = v;
- msg_err_main ("kill worker %p as Rspamd is terminating due to "
+ msg_err_main ("kill worker %P as Rspamd is terminating due to "
"an unrecoverable error", w->pid);
kill (w->pid, SIGKILL);
}
if (ctx->cfg->min_tokens > 0 &&
cl.text_tokens < ctx->cfg->min_tokens * 0.1) {
msg_info_bayes ("ignore bayes probability %.2f since we have "
- "too few text tokens: %d, at least %.0f is required",
+ "too few text tokens: %uL, at least %.0f is required",
final_prob,
cl.text_tokens,
ctx->cfg->min_tokens * 0.1);
}
}
else {
- msg_err_task ("neither key nor rawkey are specified", err);
+ msg_err_task ("neither key nor rawkey are specified");
lua_pushboolean (L, FALSE);
return 1;