aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_encoding.h
diff options
context:
space:
mode:
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