diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-09-24 02:40:25 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-09-24 02:40:25 +0800 |
commit | 1182181b371fce466a2cec0fe8f5c5e3a8c5dcc4 (patch) | |
tree | b331930dfd9d8301994e5947806dd718c0f0fd93 | |
parent | 4bd500a0d8675162633c371e2e1eff23261c38d3 (diff) | |
download | gsoc2013-evolution-1182181b371fce466a2cec0fe8f5c5e3a8c5dcc4.tar gsoc2013-evolution-1182181b371fce466a2cec0fe8f5c5e3a8c5dcc4.tar.gz gsoc2013-evolution-1182181b371fce466a2cec0fe8f5c5e3a8c5dcc4.tar.bz2 gsoc2013-evolution-1182181b371fce466a2cec0fe8f5c5e3a8c5dcc4.tar.lz gsoc2013-evolution-1182181b371fce466a2cec0fe8f5c5e3a8c5dcc4.tar.xz gsoc2013-evolution-1182181b371fce466a2cec0fe8f5c5e3a8c5dcc4.tar.zst gsoc2013-evolution-1182181b371fce466a2cec0fe8f5c5e3a8c5dcc4.zip |
Don't forget to flush the iconv conversion.
2003-09-23 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (append_8bit): Don't forget to flush the
iconv conversion.
svn path=/trunk/; revision=22671
-rw-r--r-- | camel/ChangeLog | 3 | ||||
-rw-r--r-- | camel/camel-mime-utils.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index a89d612903..064105872f 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,8 @@ 2003-09-23 Jeffrey Stedfast <fejj@ximian.com> + * camel-mime-utils.c (append_8bit): Don't forget to flush the + iconv conversion. + * tests/message/test4.c (main): Don't try dot-files. 2003-09-22 Not Zed <NotZed@Ximian.com> diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index 06bde77f7c..fd99da9802 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -1127,7 +1127,9 @@ append_8bit (GString *out, const char *inbuf, size_t inlen, const char *charset) e_iconv_close (ic); return FALSE; } - + + e_iconv (ic, NULL, NULL, &outbuf, &outlen); + *outbuf = 0; g_string_append(out, outbase); g_free(outbase); |