aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-27 04:11:27 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-27 04:11:27 +0800
commit4b93e802d917ddc918af720c756df9de4b831d6d (patch)
tree0f486afb10eabb6253030f074631032dd76c8853 /camel/camel-mime-utils.c
parent7443055a53dcdbea2f9ac2867faa9bb0ca25e3aa (diff)
downloadgsoc2013-evolution-4b93e802d917ddc918af720c756df9de4b831d6d.tar.gz
gsoc2013-evolution-4b93e802d917ddc918af720c756df9de4b831d6d.tar.zst
gsoc2013-evolution-4b93e802d917ddc918af720c756df9de4b831d6d.zip
When writing the last token (if not rfc2047 encoded), don't use
2001-03-26 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c (header_decode_text): When writing the last token (if not rfc2047 encoded), don't use g_string_append_len, use append_latin1. svn path=/trunk/; revision=8954
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r--camel/camel-mime-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index afc77fcf58..2f92d5fb86 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -1079,7 +1079,7 @@ header_decode_text (const char *in, int inlen)
} else {
if (lastc)
g_string_append_c (out, lastc);
- out = g_string_append_len (out, word, len);
+ out = append_latin1 (out, word, len);
}
}