Init charset to NULL.

2003-07-21  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (build_message): Init charset to NULL.

svn path=/trunk/; revision=21882
This commit is contained in:
Jeffrey Stedfast
2003-07-21 17:56:17 +00:00
committed by Jeffrey Stedfast
parent 8a2f94b835
commit ef517a5fba
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2003-07-21 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (build_message): Init charset to NULL.
2003-07-21 Dan Winship <danw@ximian.com>
* e-msg-composer.c (build_message): Make this work again.

View File

@ -351,7 +351,7 @@ build_message (EMsgComposer *composer, gboolean save_html_object_data)
CamelMultipart *body = NULL;
CamelContentType *type;
CamelMimeMessage *new;
const char *charset;
const char *charset = NULL;
CamelStream *stream;
CamelMimePart *part;
CamelException ex;
@ -403,7 +403,7 @@ build_message (EMsgComposer *composer, gboolean save_html_object_data)
}
stream = camel_stream_mem_new_with_byte_array (data);
/* convert the stream to the appropriate charset */
if (charset && strcasecmp (charset, "UTF-8") != 0) {
CamelStreamFilter *filter_stream;