diff options
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r-- | camel/camel-mime-utils.c | 4 |
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); |