aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2001-09-08 08:14:17 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-08 08:14:17 +0800
commit8e92271ad52a91deca742745cca32017606a1301 (patch)
tree7ad845f32a7f7dbedf14bbe120124a8f481c651f /mail/mail-format.c
parentad3b49203a983224c11ec86e7e7a1bba1a9c39e6 (diff)
downloadgsoc2013-evolution-8e92271ad52a91deca742745cca32017606a1301.tar.gz
gsoc2013-evolution-8e92271ad52a91deca742745cca32017606a1301.tar.zst
gsoc2013-evolution-8e92271ad52a91deca742745cca32017606a1301.zip
kill off some warnings
svn path=/trunk/; revision=12697
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index 925fdeea65..15780ae045 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -1422,7 +1422,6 @@ try_inline_pgp_sig (char *start, CamelMimePart *part, MailDisplay *md)
CamelCipherValidity *valid = NULL;
CamelPgpContext *context;
char *msg_start, *pgp_start, *sig_start, *sig_end;
- const char *charset;
pgp_start = strstr (start, "-----BEGIN PGP SIGNED MESSAGE-----");
if (pgp_start) {
@@ -1480,7 +1479,7 @@ try_inline_pgp_sig (char *start, CamelMimePart *part, MailDisplay *md)
filtered_stream = camel_stream_filter_new_with_stream (ciphertext);
camel_stream_filter_add (filtered_stream, CAMEL_MIME_FILTER (charset_filter));
- camel_stream_write (filtered_stream, pgp_start, sig_end - pgp_start);
+ camel_stream_write (CAMEL_STREAM (filtered_stream), pgp_start, sig_end - pgp_start);
camel_stream_flush (CAMEL_STREAM (filtered_stream));
camel_object_unref (CAMEL_OBJECT (filtered_stream));