From ffaebb53febb7441ee7cfccaf3819a29efd702d7 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 8 Aug 2000 23:37:31 +0000 Subject: Fix some compiler warnings. * mail-crypto.c, mail-format.c, message-thread.c: Fix some compiler warnings. svn path=/trunk/; revision=4615 --- mail/mail-format.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'mail/mail-format.c') 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); } -- cgit