From 1182181b371fce466a2cec0fe8f5c5e3a8c5dcc4 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 23 Sep 2003 18:40:25 +0000 Subject: Don't forget to flush the iconv conversion. 2003-09-23 Jeffrey Stedfast * camel-mime-utils.c (append_8bit): Don't forget to flush the iconv conversion. svn path=/trunk/; revision=22671 --- camel/ChangeLog | 3 +++ camel/camel-mime-utils.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + * 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 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); -- cgit v1.2.3