aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/camel-mime-utils.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 9c3ad0cddb..d4f4d6d06d 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,9 @@
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.
+
* camel-mime-message.c (write_to_stream): Don't spew a warning if
the message-id wasn't set by the application, not a big deal since
we create one right here.
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);
}
}