aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r--camel/camel-mime-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index 594c1de05e..e5c90dabd0 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -954,7 +954,7 @@ rfc2047_decode_word(const char *in, int len)
memcpy (encname, in + 2, tmplen);
encname[tmplen] = '\0';
- charset = camel_charset_get_iconv_friendly_name (encname);
+ charset = camel_charset_to_iconv (encname);
inbuf = decword;
@@ -1811,7 +1811,7 @@ rfc2184_decode (const char *in, int len)
return NULL;
encoding = g_strndup (in, inptr - in);
- charset = camel_charset_get_iconv_friendly_name (encoding);
+ charset = camel_charset_to_iconv (encoding);
g_free (encoding);
inptr = memchr (inptr + 1, '\'', inend - inptr - 1);