aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-importer.c2
-rw-r--r--mail/mail-ops.c2
3 files changed, 7 insertions, 2 deletions
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 <fejj@helixcode.com>
+
+ * mail-importer.c (mail_importer_add_line): Cast the
+ camel_stream_mem_new() to a CamelStreamMem.
+
2001-01-29 JP Rosevear <jpr@ximian.com>
* 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;