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:
committed by
Jeffrey Stedfast
parent
8a2f94b835
commit
ef517a5fba
@ -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.
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user