commit b130109: [Minor] Eek, try to workaround libicu stupidity
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Nov 19 17:42:07 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-11-19 17:30:38 +0000
URL: https://github.com/rspamd/rspamd/commit/b130109429aa4046e682324de3ac2f31b31fe563
[Minor] Eek, try to workaround libicu stupidity
---
src/libmime/mime_encoding.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libmime/mime_encoding.c b/src/libmime/mime_encoding.c
index 4ddba8ca0..d98f96b85 100644
--- a/src/libmime/mime_encoding.c
+++ b/src/libmime/mime_encoding.c
@@ -284,7 +284,7 @@ rspamd_mime_detect_charset (const rspamd_ftok_t *in, rspamd_mempool_t *pool)
s = g_hash_table_lookup (sub_hash, ret);
if (s) {
- return ucnv_getCanonicalName (s->canon, "MIME", &uc_err);
+ ret = (char *)s->canon;
}
/* Just fucking stupid */
More information about the Commits
mailing list