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
This commit is contained in:
Jeffrey Stedfast
2003-09-23 18:40:25 +00:00
committed by Jeffrey Stedfast
parent 4bd500a0d8
commit 1182181b37
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2003-09-23 Jeffrey Stedfast <fejj@ximian.com> 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. * tests/message/test4.c (main): Don't try dot-files.
2003-09-22 Not Zed <NotZed@Ximian.com> 2003-09-22 Not Zed <NotZed@Ximian.com>

View File

@ -1127,7 +1127,9 @@ append_8bit (GString *out, const char *inbuf, size_t inlen, const char *charset)
e_iconv_close (ic); e_iconv_close (ic);
return FALSE; return FALSE;
} }
e_iconv (ic, NULL, NULL, &outbuf, &outlen);
*outbuf = 0; *outbuf = 0;
g_string_append(out, outbase); g_string_append(out, outbase);
g_free(outbase); g_free(outbase);