summaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-27 18:03:27 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-27 18:03:27 +0100
commitc974d1eaaaee82906415b3608089f24461daf86c (patch)
treec124bb904dc35107c86af9ed8d941afe78f9380d /src/libmime
parent91287bb8407e3b9022bc663b07870510aedabbc3 (diff)
downloadrspamd-c974d1eaaaee82906415b3608089f24461daf86c.tar.gz
rspamd-c974d1eaaaee82906415b3608089f24461daf86c.zip
[Minor] Fix format strings
Diffstat (limited to 'src/libmime')
-rw-r--r--src/libmime/lang_detection.c2
-rw-r--r--src/libmime/mime_encoding.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libmime/lang_detection.c b/src/libmime/lang_detection.c
index 7cf9ffec4..e4dc2ebf4 100644
--- a/src/libmime/lang_detection.c
+++ b/src/libmime/lang_detection.c
@@ -784,7 +784,7 @@ rspamd_language_detector_init (struct rspamd_config *cfg)
});
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);
}
diff --git a/src/libmime/mime_encoding.c b/src/libmime/mime_encoding.c
index 7fd75af9d..8788403f3 100644
--- a/src/libmime/mime_encoding.c
+++ b/src/libmime/mime_encoding.c
@@ -446,7 +446,7 @@ rspamd_mime_text_part_utf8_convert (struct rspamd_task *task,
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);