diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-23 17:48:34 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-23 17:48:34 +0000 |
commit | 75d5d020bce87534c3f802e20bbf0bca465705d2 (patch) | |
tree | 36283dcd8258c55dd9d44625004992f05218bc80 /src/libmime/mime_encoding.h | |
parent | f1262b46f67e6a99d12052da93e8157e0935783c (diff) | |
download | rspamd-75d5d020bce87534c3f802e20bbf0bca465705d2.tar.gz rspamd-75d5d020bce87534c3f802e20bbf0bca465705d2.zip |
[Minor] Skip double utf8 checks
Diffstat (limited to 'src/libmime/mime_encoding.h')
-rw-r--r-- | src/libmime/mime_encoding.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libmime/mime_encoding.h b/src/libmime/mime_encoding.h index 22f0ee818..56216b46c 100644 --- a/src/libmime/mime_encoding.h +++ b/src/libmime/mime_encoding.h @@ -138,7 +138,8 @@ rspamd_converter_to_uchars (struct rspamd_charset_converter *cnv, * @param inlen * @return detected charset name or NULL */ -const char *rspamd_mime_charset_find_by_content (const gchar *in, gsize inlen); +const char *rspamd_mime_charset_find_by_content (const gchar *in, gsize inlen, + bool check_utf8); #ifdef __cplusplus } |