aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-08-09 07:37:31 +0800
committerDan Winship <danw@src.gnome.org>2000-08-09 07:37:31 +0800
commitffaebb53febb7441ee7cfccaf3819a29efd702d7 (patch)
treeb65f92b1e9a6d958f5e2583e7a4c8f735fe7d87a /mail/mail-format.c
parent14e163207e7bea5a383f8b538041156dc2cb1c84 (diff)
downloadgsoc2013-evolution-ffaebb53febb7441ee7cfccaf3819a29efd702d7.tar
gsoc2013-evolution-ffaebb53febb7441ee7cfccaf3819a29efd702d7.tar.gz
gsoc2013-evolution-ffaebb53febb7441ee7cfccaf3819a29efd702d7.tar.bz2
gsoc2013-evolution-ffaebb53febb7441ee7cfccaf3819a29efd702d7.tar.lz
gsoc2013-evolution-ffaebb53febb7441ee7cfccaf3819a29efd702d7.tar.xz
gsoc2013-evolution-ffaebb53febb7441ee7cfccaf3819a29efd702d7.tar.zst
gsoc2013-evolution-ffaebb53febb7441ee7cfccaf3819a29efd702d7.zip
Fix some compiler warnings.
* mail-crypto.c, mail-format.c, message-thread.c: Fix some compiler warnings. svn path=/trunk/; revision=4615
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index 1be527bad2..e90dc50826 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -430,6 +430,7 @@ static void
write_headers (CamelMimeMessage *message, struct mail_format_data *mfd)
{
const CamelInternetAddress *recipients;
+ const char *reply_to;
char *string;
mail_html_write (mfd->html, mfd->stream,
@@ -441,9 +442,9 @@ write_headers (CamelMimeMessage *message, struct mail_format_data *mfd)
camel_mime_message_get_from (message),
TRUE, mfd->html, mfd->stream);
- string = camel_mime_message_get_reply_to (message);
- if (string) {
- write_field_to_stream ("Reply-To:", string, FALSE,
+ reply_to = camel_mime_message_get_reply_to (message);
+ if (reply_to) {
+ write_field_to_stream ("Reply-To:", reply_to, FALSE,
mfd->html, mfd->stream);
}