aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-09-24 02:40:25 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-09-24 02:40:25 +0800
commit1182181b371fce466a2cec0fe8f5c5e3a8c5dcc4 (patch)
treeb331930dfd9d8301994e5947806dd718c0f0fd93 /camel/camel-mime-utils.c
parent4bd500a0d8675162633c371e2e1eff23261c38d3 (diff)
downloadgsoc2013-evolution-1182181b371fce466a2cec0fe8f5c5e3a8c5dcc4.tar.gz
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
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r--camel/camel-mime-utils.c4
1 files changed, 3 insertions, 1 deletions
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);