rspamd_cryptobox_siphash ((guchar *)&b.hash, lc_copy, blen,
lib_ctx->hkey);
- msg_debug_mime ("normal hash: %*s -> %L", blen, lc_copy);
+ msg_debug_mime ("normal hash: %*s -> %L", (gint)blen, lc_copy, b.hash);
if (closing) {
b.flags = RSPAMD_MIME_BOUNDARY_FLAG_CLOSED;
rspamd_cryptobox_siphash ((guchar *)&b.closed_hash, lc_copy,
blen + 2,
lib_ctx->hkey);
- msg_debug_mime ("closing hash: %*s -> %L", blen + 2, lc_copy);
+ msg_debug_mime ("closing hash: %*s -> %L", (gint)blen + 2, lc_copy,
+ b.closed_hash);
}
else {
b.flags = 0;
g_ptr_array_add (task->rcpt_envelope, addr);
}
else {
- msg_err_task ("bad rcpt header: '%T'", h->value);
+ msg_err_task ("bad rcpt header: '%T'", &h->value);
task->flags |= RSPAMD_TASK_FLAG_BROKEN_HEADERS;
}
debug_task ("read rcpt header, value: %V", hv);
else {
msg_info_spf (
"<%s>: spf error for domain %s: unknown or "
- "unsupported spf macro %c (%s) in %s",
+ "unsupported spf macro %c in %s",
task->message_id,
rec->sender_domain,
*p,