aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_encoding.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-19 17:07:32 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-19 17:07:32 +0000
commit287256b3f36cf0c19b8223eaf10eb5e0ae24501c (patch)
treea29312c1bfd48dc31ce7e6e067958427beb42426 /src/libmime/mime_encoding.h
parent3ed1b3df679a0dbff89baa2dcd02c9ae42d7400f (diff)
downloadrspamd-287256b3f36cf0c19b8223eaf10eb5e0ae24501c.tar.gz
rspamd-287256b3f36cf0c19b8223eaf10eb5e0ae24501c.zip
[Minor] Treat utf especially
Diffstat (limited to 'src/libmime/mime_encoding.h')
-rw-r--r--src/libmime/mime_encoding.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmime/mime_encoding.h b/src/libmime/mime_encoding.h
index eb3a59942..a4999266f 100644
--- a/src/libmime/mime_encoding.h
+++ b/src/libmime/mime_encoding.h
@@ -29,8 +29,8 @@ struct rspamd_mime_text_part;
* @param in
* @return
*/
-const gchar * rspamd_mime_detect_charset (rspamd_mempool_t *pool,
- const rspamd_ftok_t *in);
+const gchar * rspamd_mime_detect_charset (const rspamd_ftok_t *in,
+ rspamd_mempool_t *pool);
/**
* Convert text chunk to utf-8. Input encoding is substituted using