diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-07-22 01:56:17 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-07-22 01:56:17 +0800 |
commit | ef517a5fba7b5f29a4e2aac95a114e401f249f6e (patch) | |
tree | 1a9e5641564b9ebf32246bc9fa2b2154a28e67e7 | |
parent | 8a2f94b83502c3e46510efbea1e90325cfa0c9f1 (diff) | |
download | gsoc2013-evolution-ef517a5fba7b5f29a4e2aac95a114e401f249f6e.tar gsoc2013-evolution-ef517a5fba7b5f29a4e2aac95a114e401f249f6e.tar.gz gsoc2013-evolution-ef517a5fba7b5f29a4e2aac95a114e401f249f6e.tar.bz2 gsoc2013-evolution-ef517a5fba7b5f29a4e2aac95a114e401f249f6e.tar.lz gsoc2013-evolution-ef517a5fba7b5f29a4e2aac95a114e401f249f6e.tar.xz gsoc2013-evolution-ef517a5fba7b5f29a4e2aac95a114e401f249f6e.tar.zst gsoc2013-evolution-ef517a5fba7b5f29a4e2aac95a114e401f249f6e.zip |
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
-rw-r--r-- | composer/ChangeLog | 4 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 7734ae116e..e8bf69b7bc 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -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. diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 7e6bf647c1..3e128129e7 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -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; |