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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index 6d1f6c3b46..13e9d815ef 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -1996,8 +1996,7 @@ header_decode_param (const char **in, char **paramp, char **valuep, int *is_rfc2
*/
char *val;
- val = rfc2047_decode_word (value, strlen (value));
- if (val) {
+ if ((val = header_decode_text (value, strlen (value), NULL))) {
g_free (value);
value = val;
}