From 0dc65c95c24e03230d675e11b944066f16b26b61 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 24 Feb 2017 18:24:46 +0000 Subject: [Minor] Detect real charset if data is in utf-8 --- src/libmime/mime_encoding.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libmime/mime_encoding.h') diff --git a/src/libmime/mime_encoding.h b/src/libmime/mime_encoding.h index c1a24eeca..58a799e45 100644 --- a/src/libmime/mime_encoding.h +++ b/src/libmime/mime_encoding.h @@ -76,7 +76,7 @@ GByteArray * rspamd_mime_text_part_maybe_convert (struct rspamd_task *task, * @return */ gboolean rspamd_mime_charset_utf_check (rspamd_ftok_t *charset, - gchar *in, gsize len); + gchar *in, gsize len, gboolean content_check); /** * Ensure that all characters in string are valid utf8 chars or replace them -- cgit v1.2.3