diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-27 04:11:27 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-27 04:11:27 +0800 |
commit | 4b93e802d917ddc918af720c756df9de4b831d6d (patch) | |
tree | 0f486afb10eabb6253030f074631032dd76c8853 | |
parent | 7443055a53dcdbea2f9ac2867faa9bb0ca25e3aa (diff) | |
download | gsoc2013-evolution-4b93e802d917ddc918af720c756df9de4b831d6d.tar gsoc2013-evolution-4b93e802d917ddc918af720c756df9de4b831d6d.tar.gz gsoc2013-evolution-4b93e802d917ddc918af720c756df9de4b831d6d.tar.bz2 gsoc2013-evolution-4b93e802d917ddc918af720c756df9de4b831d6d.tar.lz gsoc2013-evolution-4b93e802d917ddc918af720c756df9de4b831d6d.tar.xz 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
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/camel-mime-utils.c | 2 |
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); } } |