@@ -1224,7 +1224,7 @@ rspamc_output_headers (FILE *out, struct rspamd_http_message *msg) | |||
struct rspamd_http_header *h, *htmp; | |||
HASH_ITER (hh, msg->headers, h, htmp) { | |||
rspamd_fprintf (out, "%T: %T\n", h->name, h->value); | |||
rspamd_fprintf (out, "%T: %T\n", &h->name, &h->value); | |||
} | |||
rspamd_fprintf (out, "\n"); |
@@ -121,8 +121,8 @@ rspamd_language_detector_read_file (struct rspamd_config *cfg, | |||
while ((cur = ucl_object_iterate (freqs, &it, true)) != NULL) { | |||
const gchar *key; | |||
gsize keylen, nsym; | |||
guint freq; | |||
gsize keylen; | |||
guint freq, nsym; | |||
UChar *ucs_key; | |||
key = ucl_object_keyl (cur, &keylen); |