From 171de13904c8a92b920a3c156837a79fb8d8ae69 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 30 Jan 2001 03:51:20 +0000 Subject: Cast the camel_stream_mem_new() to a CamelStreamMem. 2001-01-29 Jeffrey Stedfast * mail-importer.c (mail_importer_add_line): Cast the camel_stream_mem_new() to a CamelStreamMem. svn path=/trunk/; revision=7905 --- mail/ChangeLog | 5 +++++ mail/mail-importer.c | 2 +- mail/mail-ops.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 354e091086..1e726b5e05 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-01-29 Jeffrey Stedfast + + * mail-importer.c (mail_importer_add_line): Cast the + camel_stream_mem_new() to a CamelStreamMem. + 2001-01-29 JP Rosevear * main.c: Return efence ifdefs to 0 for solaris build diff --git a/mail/mail-importer.c b/mail/mail-importer.c index d39fa68ee3..3c02576599 100644 --- a/mail/mail-importer.c +++ b/mail/mail-importer.c @@ -59,7 +59,7 @@ mail_importer_add_line (MailImporter *importer, CamelException *ex; if (importer->mstream == NULL) { - importer->mstream = camel_stream_mem_new (); + importer->mstream = CAMEL_STREAM_MEM (camel_stream_mem_new ()); } camel_stream_write (CAMEL_STREAM (importer->mstream), str, diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 1a78c2c7af..271315a2aa 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -1242,7 +1242,7 @@ mail_get_store(const char *uri, void (*done) (char *uri, CamelStore *store, void { struct _get_store_msg *m; int id; - + m = mail_msg_new(&get_store_op, NULL, sizeof(*m)); m->uri = g_strdup(uri); m->data = data; -- cgit